Skip to content

Instantly share code, notes, and snippets.

@rafaeltoledo
Created December 22, 2015 15:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaeltoledo/f5351a249bf7d740bbda to your computer and use it in GitHub Desktop.
Save rafaeltoledo/f5351a249bf7d740bbda to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello" />
<Button
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Click Me!" />
<Button
android:id="@+id/hide"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Don't Click Me!" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment