Skip to content

Instantly share code, notes, and snippets.

@CoderJava
Last active September 14, 2018 09:30
Show Gist options
  • Select an option

  • Save CoderJava/237ff4c79ca154b81702ecb87e8ceffc to your computer and use it in GitHub Desktop.

Select an option

Save CoderJava/237ff4c79ca154b81702ecb87e8ceffc to your computer and use it in GitHub Desktop.
activity_stetho_dev.xml
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="16dp"
tools:context=".MainActivity">
<Button
android:id="@+id/button_shared_preferences"
android:layout_width="0dp"
android:layout_height="96dp"
android:text="Shared Preferences"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/button_network"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/button_network"
android:layout_width="0dp"
android:layout_height="96dp"
android:text="Network"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/button_database"
app:layout_constraintStart_toEndOf="@id/button_shared_preferences"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/button_database"
android:layout_width="0dp"
android:layout_height="96dp"
android:text="Database"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/button_network"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment