|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
3 | 4 | xmlns:tools="http://schemas.android.com/tools" |
4 | 5 | android:id="@+id/activity_main" |
5 | 6 | android:layout_width="match_parent" |
6 | 7 | android:layout_height="match_parent" |
7 | | - android:paddingBottom="@dimen/activity_vertical_margin" |
| 8 | + android:background="@android:color/background_light" |
8 | 9 | android:paddingLeft="@dimen/activity_horizontal_margin" |
9 | | - android:paddingRight="@dimen/activity_horizontal_margin" |
10 | 10 | android:paddingTop="@dimen/activity_vertical_margin" |
11 | | - android:background="@android:color/background_light" |
| 11 | + android:paddingRight="@dimen/activity_horizontal_margin" |
| 12 | + android:paddingBottom="@dimen/activity_vertical_margin" |
12 | 13 | tools:context="com.efraespada.stringobfuscator.MainActivity"> |
13 | 14 |
|
14 | | - <LinearLayout |
| 15 | + <ScrollView |
15 | 16 | android:layout_width="match_parent" |
16 | | - android:layout_height="wrap_content" |
17 | | - android:orientation="vertical" |
18 | | - android:layout_centerInParent="true"> |
| 17 | + android:layout_height="wrap_content"> |
19 | 18 |
|
20 | | - <com.stringcare.library.SCTextView |
21 | | - android:padding="10dp" |
22 | | - android:layout_width="wrap_content" |
| 19 | + <LinearLayout |
| 20 | + android:layout_width="match_parent" |
23 | 21 | android:layout_height="wrap_content" |
24 | | - android:layout_gravity="center_horizontal" |
25 | | - android:textColor="@android:color/black" |
26 | | - android:text="@string/automatic_decrypt"/> |
27 | | - |
28 | | - <TextView |
29 | | - android:padding="10dp" |
30 | | - android:id="@+id/example_a" |
31 | | - android:layout_width="wrap_content" |
32 | | - android:layout_height="wrap_content" |
33 | | - android:layout_gravity="center_horizontal" |
34 | | - android:textColor="@android:color/black" |
35 | | - android:text="" /> |
36 | | - |
37 | | - <TextView |
38 | | - android:padding="10dp" |
39 | | - android:id="@+id/example_b" |
40 | | - android:layout_width="wrap_content" |
41 | | - android:layout_height="wrap_content" |
42 | | - android:layout_gravity="center_horizontal" |
43 | | - android:textColor="@android:color/black" |
44 | | - android:text="" /> |
| 22 | + android:orientation="vertical"> |
| 23 | + |
| 24 | + <com.stringcare.library.SCTextView |
| 25 | + android:id="@+id/auto_tv" |
| 26 | + android:layout_width="wrap_content" |
| 27 | + android:layout_height="wrap_content" |
| 28 | + android:layout_gravity="center_horizontal" |
| 29 | + android:layout_marginTop="15dp" |
| 30 | + android:padding="10dp" |
| 31 | + android:text="@string/hello" |
| 32 | + android:textColor="@android:color/black" |
| 33 | + app:html="false" |
| 34 | + app:visible="false" /> |
| 35 | + |
| 36 | + <Button |
| 37 | + android:id="@+id/btn_change" |
| 38 | + style="@style/Widget.AppCompat.Button.Borderless.Colored" |
| 39 | + android:layout_width="wrap_content" |
| 40 | + android:layout_height="wrap_content" |
| 41 | + android:layout_gravity="end" |
| 42 | + android:text="Change" /> |
| 43 | + |
| 44 | + <TextView |
| 45 | + android:id="@+id/example_a" |
| 46 | + android:layout_width="wrap_content" |
| 47 | + android:layout_height="wrap_content" |
| 48 | + android:layout_gravity="center_horizontal" |
| 49 | + android:layout_marginTop="15dp" |
| 50 | + android:padding="10dp" |
| 51 | + android:textColor="@android:color/black" /> |
| 52 | + |
| 53 | + <TextView |
| 54 | + android:id="@+id/example_b" |
| 55 | + android:layout_width="wrap_content" |
| 56 | + android:layout_height="wrap_content" |
| 57 | + android:layout_gravity="center_horizontal" |
| 58 | + android:layout_marginTop="15dp" |
| 59 | + android:padding="10dp" |
| 60 | + android:textColor="@android:color/black" /> |
45 | 61 |
|
46 | | - </LinearLayout> |
| 62 | + </LinearLayout> |
47 | 63 |
|
| 64 | + </ScrollView> |
48 | 65 |
|
49 | | -</RelativeLayout> |
| 66 | +</LinearLayout> |
0 commit comments