diff options
Diffstat (limited to 'Android/02-Intents/IntentsLab/res/layout/explicitly_loaded_activity.xml')
-rw-r--r-- | Android/02-Intents/IntentsLab/res/layout/explicitly_loaded_activity.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Android/02-Intents/IntentsLab/res/layout/explicitly_loaded_activity.xml b/Android/02-Intents/IntentsLab/res/layout/explicitly_loaded_activity.xml new file mode 100644 index 0000000..c4757c0 --- /dev/null +++ b/Android/02-Intents/IntentsLab/res/layout/explicitly_loaded_activity.xml @@ -0,0 +1,33 @@ +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_centerVertical="true" + android:text="@string/explicit_message" /> + + <EditText + android:id="@+id/editText" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:ems="10" + android:hint="@string/enter_text_here_string" > + + <requestFocus /> + </EditText> + + <Button + android:id="@+id/enter_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_below="@+id/editText" + android:text="@string/enter_string" /> + +</RelativeLayout>
\ No newline at end of file |