diff options
Diffstat (limited to 'Android/01-TheActivityClass/ActivityLab/res/layout')
-rw-r--r-- | Android/01-TheActivityClass/ActivityLab/res/layout/activity_one.xml | 32 | ||||
-rw-r--r-- | Android/01-TheActivityClass/ActivityLab/res/layout/activity_two.xml | 33 |
2 files changed, 65 insertions, 0 deletions
diff --git a/Android/01-TheActivityClass/ActivityLab/res/layout/activity_one.xml b/Android/01-TheActivityClass/ActivityLab/res/layout/activity_one.xml new file mode 100644 index 0000000..d281f0f --- /dev/null +++ b/Android/01-TheActivityClass/ActivityLab/res/layout/activity_one.xml @@ -0,0 +1,32 @@ +<LinearLayout 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" + android:orientation="vertical" > + + <TextView android:id="@+id/create" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/onCreate" /> + + <TextView android:id="@+id/start" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/onStart" /> + + <TextView android:id="@+id/resume" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/onResume" /> + + <TextView android:id="@+id/restart" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/onRestart" /> + + <Button android:id="@+id/bLaunchActivityTwo" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/button" /> + +</LinearLayout> diff --git a/Android/01-TheActivityClass/ActivityLab/res/layout/activity_two.xml b/Android/01-TheActivityClass/ActivityLab/res/layout/activity_two.xml new file mode 100644 index 0000000..5ccc915 --- /dev/null +++ b/Android/01-TheActivityClass/ActivityLab/res/layout/activity_two.xml @@ -0,0 +1,33 @@ +<LinearLayout 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" + android:orientation="vertical" > + + <TextView android:id="@+id/create" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/onCreate" /> + + <TextView android:id="@+id/start" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/onStart" /> + + <TextView android:id="@+id/resume" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/onResume" /> + + <TextView android:id="@+id/restart" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/onRestart" /> + + <Button android:id="@+id/bClose" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/close" + /> + +</LinearLayout> |