|
27 | 27 |
|
28 | 28 | <Button |
29 | 29 | android:id="@+id/buttonReset" |
30 | | - style="@style/Widget.AppCompat.Button.Borderless" |
| 30 | + style="@style/Widget.MaterialComponents.Button.OutlinedButton" |
31 | 31 | android:layout_width="wrap_content" |
32 | 32 | android:layout_height="wrap_content" |
33 | 33 | android:text="Reset" |
34 | | - android:textAllCaps="false" |
35 | | - android:textColor="@color/button_text" /> |
| 34 | + android:textAllCaps="false" /> |
36 | 35 |
|
37 | 36 | <Button |
38 | 37 | android:id="@+id/buttonAuto" |
39 | | - style="@style/Widget.AppCompat.Button.Borderless" |
| 38 | + style="@style/Widget.MaterialComponents.Button.OutlinedButton" |
40 | 39 | android:layout_width="wrap_content" |
41 | 40 | android:layout_height="wrap_content" |
42 | 41 | android:layout_weight="0" |
43 | 42 | android:text="Auto" |
44 | | - android:textAllCaps="false" |
45 | | - android:textColor="@color/button_text" /> |
46 | | - |
47 | | - <CheckBox |
48 | | - android:id="@+id/checkBoxInpaint" |
49 | | - android:layout_width="wrap_content" |
50 | | - android:layout_height="wrap_content" |
51 | | - android:layout_weight="0" |
52 | | - android:text="Inpaint" /> |
| 43 | + android:textAllCaps="false"/> |
53 | 44 |
|
54 | 45 | <TextView |
55 | 46 | android:id="@+id/textView3" |
|
59 | 50 |
|
60 | 51 | <Button |
61 | 52 | android:id="@+id/buttonPreview" |
62 | | - style="@style/Widget.AppCompat.Button.Borderless" |
| 53 | + style="@style/Widget.MaterialComponents.Button.OutlinedButton" |
63 | 54 | android:layout_width="wrap_content" |
64 | 55 | android:layout_height="wrap_content" |
65 | 56 | android:layout_weight="0" |
66 | 57 | android:text="Preview >" |
67 | | - android:textAllCaps="false" |
68 | | - android:textColor="@color/button_text" /> |
| 58 | + android:textAllCaps="false"/> |
| 59 | + </LinearLayout> |
| 60 | + |
| 61 | + <LinearLayout |
| 62 | + android:layout_width="match_parent" |
| 63 | + android:layout_height="wrap_content" |
| 64 | + android:orientation="horizontal"> |
| 65 | + |
| 66 | + <CheckBox |
| 67 | + android:id="@+id/checkBoxInpaint" |
| 68 | + android:layout_width="wrap_content" |
| 69 | + android:layout_height="wrap_content" |
| 70 | + android:layout_weight="1" |
| 71 | + android:text="Inpaint" /> |
| 72 | + |
69 | 73 | </LinearLayout> |
70 | 74 |
|
71 | 75 | <LinearLayout |
72 | 76 | android:layout_width="wrap_content" |
73 | 77 | android:layout_height="wrap_content" |
74 | | - android:layout_gravity="center" |
75 | | - android:gravity="center" |
| 78 | + android:gravity="center_vertical" |
76 | 79 | android:orientation="horizontal"> |
77 | 80 |
|
78 | 81 | <TextView |
|
114 | 117 | android:id="@+id/frameLayout" |
115 | 118 | android:layout_width="match_parent" |
116 | 119 | android:layout_height="match_parent" |
117 | | - android:background="@color/teal_700" |
118 | 120 | android:padding="3dp"> |
119 | 121 |
|
120 | 122 | <com.dan.perspective.EditPerspectiveImageView |
|
131 | 133 | android:layout_width="match_parent" |
132 | 134 | android:layout_height="match_parent" |
133 | 135 | android:alpha="0" |
134 | | - android:background="@color/design_default_color_background" |
135 | 136 | android:orientation="vertical" |
136 | 137 | android:scaleX="1.2" |
137 | 138 | android:scaleY="1.2" |
|
149 | 150 |
|
150 | 151 | <Button |
151 | 152 | android:id="@+id/buttonEdit" |
152 | | - style="@style/Widget.AppCompat.Button.Borderless" |
| 153 | + style="@style/Widget.MaterialComponents.Button.OutlinedButton" |
153 | 154 | android:layout_width="wrap_content" |
154 | 155 | android:layout_height="wrap_content" |
155 | 156 | android:text="< Edit" |
156 | | - android:textAllCaps="false" |
157 | | - android:textColor="@color/button_text" /> |
| 157 | + android:textAllCaps="false"/> |
158 | 158 |
|
159 | 159 | </LinearLayout> |
160 | 160 |
|
161 | 161 | <FrameLayout |
162 | 162 | android:id="@+id/frameLayout2" |
163 | 163 | android:layout_width="match_parent" |
164 | 164 | android:layout_height="match_parent" |
165 | | - android:background="@color/teal_700" |
166 | 165 | android:padding="3dp"> |
167 | 166 |
|
168 | 167 | <com.dan.perspective.TouchImageView |
|
0 commit comments