|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | android:layout_width="match_parent" |
4 | 4 | android:layout_height="match_parent" |
5 | | - android:orientation="vertical" |
6 | | - android:gravity="center" |
7 | | - android:padding="16dp"> |
| 5 | + android:padding="32dp"> |
8 | 6 |
|
9 | | - <TextView |
10 | | - android:id="@+id/title_textview" |
11 | | - android:layout_width="wrap_content" |
12 | | - android:layout_height="wrap_content" |
13 | | - android:textSize="24sp" |
14 | | - android:textStyle="bold" |
15 | | - android:layout_marginBottom="16dp" /> |
16 | | - |
17 | | - <ScrollView |
| 7 | + <LinearLayout |
18 | 8 | android:layout_width="match_parent" |
19 | | - android:layout_height="wrap_content"> |
| 9 | + android:layout_height="match_parent" |
| 10 | + android:background="@drawable/slide_background" |
| 11 | + android:elevation="4dp" |
| 12 | + android:gravity="center" |
| 13 | + android:orientation="vertical" |
| 14 | + android:padding="48dp"> |
20 | 15 |
|
21 | 16 | <TextView |
22 | | - android:id="@+id/content_textview" |
23 | | - android:layout_width="match_parent" |
| 17 | + android:id="@+id/title_textview" |
| 18 | + android:layout_width="wrap_content" |
24 | 19 | android:layout_height="wrap_content" |
25 | | - android:textSize="16sp" /> |
| 20 | + android:layout_marginBottom="24dp" |
| 21 | + android:textAlignment="center" |
| 22 | + android:textColor="@color/textColorPrimary" |
| 23 | + android:textSize="34sp" |
| 24 | + android:textStyle="bold" /> |
| 25 | + |
| 26 | + <ScrollView |
| 27 | + android:layout_width="match_parent" |
| 28 | + android:layout_height="wrap_content"> |
| 29 | + |
| 30 | + <TextView |
| 31 | + android:id="@+id/content_textview" |
| 32 | + android:layout_width="match_parent" |
| 33 | + android:layout_height="wrap_content" |
| 34 | + android:lineSpacingMultiplier="1.2" |
| 35 | + android:textAlignment="center" |
| 36 | + android:textColor="@color/textColorDefault" |
| 37 | + android:textSize="20sp" /> |
26 | 38 |
|
27 | | - </ScrollView> |
| 39 | + </ScrollView> |
28 | 40 |
|
29 | | -</LinearLayout> |
| 41 | + </LinearLayout> |
| 42 | +</FrameLayout> |
0 commit comments