diff options
Diffstat (limited to 'examples/ex2_espresso/src/main/res/layout/activity_main.xml')
-rw-r--r-- | examples/ex2_espresso/src/main/res/layout/activity_main.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/ex2_espresso/src/main/res/layout/activity_main.xml b/examples/ex2_espresso/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..e190302 --- /dev/null +++ b/examples/ex2_espresso/src/main/res/layout/activity_main.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" + android:layout_width="match_parent" android:layout_height="match_parent" + android:paddingBottom="@dimen/activity_vertical_margin" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + tools:context="com.google.android.mobly.snippet.example2.MainActivity"> + +<TextView + android:id="@+id/main_text_view" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:text="Hello World!" /> + +<Button + android:id="@+id/main_button" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="Push the button!" /> +</RelativeLayout> |