summaryrefslogtreecommitdiffstats
path: root/Android/02-Intents/IntentsLab/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'Android/02-Intents/IntentsLab/res/layout')
-rw-r--r--Android/02-Intents/IntentsLab/res/layout/activity_loader_activity.xml25
-rw-r--r--Android/02-Intents/IntentsLab/res/layout/explicitly_loaded_activity.xml33
2 files changed, 58 insertions, 0 deletions
diff --git a/Android/02-Intents/IntentsLab/res/layout/activity_loader_activity.xml b/Android/02-Intents/IntentsLab/res/layout/activity_loader_activity.xml
new file mode 100644
index 0000000..00218cb
--- /dev/null
+++ b/Android/02-Intents/IntentsLab/res/layout/activity_loader_activity.xml
@@ -0,0 +1,25 @@
+<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" >
+
+ <Button
+ android:id="@+id/explicit_activation_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/explicit_activation_button_string" />
+
+ <Button
+ android:id="@+id/implicit_activation_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/implicit_activation_button_string" />
+
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/no_text_entered" />
+
+</LinearLayout> \ No newline at end of file
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