summaryrefslogtreecommitdiffstats
path: root/Android/01-TheActivityClass/ActivityLab/res/layout/activity_one.xml
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-01-31 16:28:09 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-10 17:40:54 +0100
commite951bbe638b4af5330d68394a1a37e1b118bab28 (patch)
tree5268102bc54d3adc81ae112000c8b6b926f730f7 /Android/01-TheActivityClass/ActivityLab/res/layout/activity_one.xml
parent12a106bba4cf6ac9a8e9aa62c5f4fc4e6ba65b38 (diff)
downloadcoursera-e951bbe638b4af5330d68394a1a37e1b118bab28.zip
coursera-e951bbe638b4af5330d68394a1a37e1b118bab28.tar.gz
Android : 01-TheActivityClass: add
Diffstat (limited to 'Android/01-TheActivityClass/ActivityLab/res/layout/activity_one.xml')
-rw-r--r--Android/01-TheActivityClass/ActivityLab/res/layout/activity_one.xml32
1 files changed, 32 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>