aboutsummaryrefslogtreecommitdiffstats
path: root/examples/androidextras/customactivity/android/res/layout/second_activity.xml
blob: 0c07790da16750b58286a8e1f65a5c78079fedf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>