Created
April 17, 2013 08:36
-
-
Save leonguyen/5402754 to your computer and use it in GitHub Desktop.
Android Lab: Shared References - Defining Main XML Layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent" | |
| android:orientation="vertical" > | |
| <EditText | |
| android:id="@+id/editTextName" | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:singleLine="true" | |
| android:text="" > | |
| </EditText> | |
| <Button | |
| android:id="@+id/buttonSave" | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Save Name" > | |
| </Button> | |
| <Button | |
| android:id="@+id/buttonShow" | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_alignRight="@+id/buttonSave" | |
| android:text="Show Name" > | |
| </Button> | |
| </LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment