diff options
Diffstat (limited to 'examples/androidextras/customactivity/android/res/layout/second_activity.xml')
-rw-r--r-- | examples/androidextras/customactivity/android/res/layout/second_activity.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/androidextras/customactivity/android/res/layout/second_activity.xml b/examples/androidextras/customactivity/android/res/layout/second_activity.xml new file mode 100644 index 0000000..0c07790 --- /dev/null +++ b/examples/androidextras/customactivity/android/res/layout/second_activity.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/relativeLayout" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="20dp"> + + <TextView + android:id="@+id/blackboard_text" + android:layout_width="match_parent" + android:layout_height="350dp" + android:layout_gravity="center" + android:gravity="center" + android:singleLine="false" + android:text="@string/hello_second_activity" + android:textAlignment="center" + android:textSize="60sp" /> + + <Button + android:id="@+id/backButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/go_back" + android:layout_gravity="center_vertical|center_horizontal" /> +</LinearLayout> |