|
30 | 30 | <ToggleButton |
31 | 31 | android:layout_width="80dp" |
32 | 32 | android:layout_height="wrap_content" |
33 | | - android:text="Imagizer" |
| 33 | + android:text="@string/imagizer" |
34 | 34 | android:id="@+id/switch1" |
35 | 35 | android:checked="false" |
36 | 36 | android:textOff="Imagizer" |
37 | 37 | android:textOn="Imagizer" |
38 | 38 | android:layout_alignParentLeft="true" |
39 | 39 | android:layout_alignParentStart="true" |
40 | 40 | android:layout_alignParentTop="true" |
41 | | - android:textSize="12dp" /> |
| 41 | + android:textSize="12sp" /> |
42 | 42 |
|
43 | 43 | <ToggleButton |
44 | 44 | android:layout_width="60dp" |
45 | 45 | android:layout_height="wrap_content" |
46 | | - android:text="Webp" |
| 46 | + android:text="@string/webp" |
47 | 47 | android:id="@+id/switch2" |
48 | 48 | android:checked="false" |
49 | 49 | android:textOff="Webp" |
50 | 50 | android:textOn="Webp" |
51 | 51 | android:layout_toEndOf="@+id/switch1" |
52 | | - android:textSize="12dp" /> |
| 52 | + android:layout_toRightOf="@+id/switch1" |
| 53 | + android:textSize="12sp" |
| 54 | + /> |
53 | 55 |
|
54 | 56 | <TextView |
55 | 57 | android:id="@+id/qualityLabel" |
56 | 58 | android:layout_width="wrap_content" |
57 | 59 | android:layout_height="wrap_content" |
58 | | - android:layout_gravity="right" |
| 60 | + android:layout_gravity="end" |
59 | 61 | android:paddingTop="4dp" |
60 | | - android:text="Quality: " |
| 62 | + android:text="@string/quality" |
61 | 63 | android:textAppearance="?android:attr/textAppearanceSmall" |
62 | 64 | android:textColor="#000000" |
63 | 65 | android:layout_alignWithParentIfMissing="false" |
64 | 66 | android:layout_alignParentTop="false" |
65 | 67 | android:layout_toLeftOf="@+id/spinner" |
66 | 68 | android:layout_toStartOf="@+id/spinner" |
67 | 69 | android:labelFor="@id/spinner" |
68 | | - android:layout_marginTop="14dp" /> |
| 70 | + android:layout_marginTop="14dp" |
| 71 | + tools:ignore="RelativeOverlap" /> |
69 | 72 |
|
70 | 73 | <Spinner |
71 | 74 | android:id="@+id/spinner" |
|
76 | 79 | android:layout_alignParentRight="true" |
77 | 80 | android:layout_alignParentEnd="true" |
78 | 81 | android:layout_alignTop="@+id/qualityLabel" |
79 | | - android:gravity="right" /> |
| 82 | + android:gravity="end" /> |
80 | 83 |
|
81 | 84 | </RelativeLayout> |
82 | 85 |
|
|
110 | 113 | android:layout_width="wrap_content" |
111 | 114 | android:layout_height="wrap_content" |
112 | 115 | android:layout_gravity="start" |
113 | | - android:text="Original download size:" |
| 116 | + android:text="@string/original_download_size" |
114 | 117 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
115 | 118 |
|
116 | 119 | <Space /> |
|
120 | 123 | android:layout_width="wrap_content" |
121 | 124 | android:layout_height="wrap_content" |
122 | 125 | android:layout_gravity="end" |
123 | | - android:text="0 kb" |
| 126 | + android:text="@string/_0_kb" |
124 | 127 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
125 | 128 | </TableRow> |
126 | 129 |
|
|
131 | 134 | android:layout_width="wrap_content" |
132 | 135 | android:layout_height="wrap_content" |
133 | 136 | android:layout_gravity="start" |
134 | | - android:text="Imagizer download size:" |
| 137 | + android:text="@string/imagizer_download_size" |
135 | 138 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
136 | 139 |
|
137 | 140 | <Space /> |
|
141 | 144 | android:layout_width="wrap_content" |
142 | 145 | android:layout_height="wrap_content" |
143 | 146 | android:layout_gravity="end" |
144 | | - android:text="0 kb" |
| 147 | + android:text="@string/_0_kb" |
145 | 148 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
146 | 149 | </TableRow> |
147 | 150 |
|
|
152 | 155 | android:layout_width="wrap_content" |
153 | 156 | android:layout_height="wrap_content" |
154 | 157 | android:layout_gravity="start" |
155 | | - android:text="Size reduction:" |
| 158 | + android:text="@string/size_reduction" |
156 | 159 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
157 | 160 |
|
158 | 161 | <Space /> |
|
162 | 165 | android:layout_width="wrap_content" |
163 | 166 | android:layout_height="wrap_content" |
164 | 167 | android:layout_gravity="end" |
165 | | - android:text="0%" |
| 168 | + android:text="@string/_0" |
166 | 169 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
167 | 170 | </TableRow> |
168 | 171 |
|
|
175 | 178 | android:layout_alignParentLeft="true" |
176 | 179 | android:layout_alignParentStart="true" |
177 | 180 | android:layout_below="@+id/tableLayout2" |
178 | | - android:layout_marginTop="10dp" /> |
| 181 | + android:layout_marginTop="10dp" |
| 182 | + tools:ignore="ContentDescription" /> |
179 | 183 |
|
180 | | - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 184 | + <LinearLayout |
181 | 185 | android:id="@+id/linearLayout" |
182 | 186 | android:layout_width="match_parent" |
183 | 187 | android:layout_height="wrap_content" |
|
193 | 197 | android:layout_marginEnd="5dp" |
194 | 198 | android:layout_marginRight="5dp" |
195 | 199 | android:layout_marginTop="8dp" |
196 | | - android:layout_weight="50" /> |
| 200 | + android:layout_weight="50" |
| 201 | + tools:ignore="ContentDescription" /> |
197 | 202 |
|
198 | 203 | <ImageView |
199 | 204 | android:id="@+id/imageView3" |
|
202 | 207 | android:layout_marginLeft="5dp" |
203 | 208 | android:layout_marginStart="5dp" |
204 | 209 | android:layout_marginTop="7dp" |
205 | | - android:layout_weight="50" /> |
| 210 | + android:layout_weight="50" |
| 211 | + tools:ignore="ContentDescription" /> |
206 | 212 |
|
207 | 213 | </LinearLayout> |
208 | 214 |
|
|
216 | 222 | android:layout_marginTop="10dp" |
217 | 223 | tools:ignore="ContentDescription" /> |
218 | 224 |
|
219 | | - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 225 | + <LinearLayout |
220 | 226 | android:layout_below="@+id/imageView4" |
221 | 227 | android:layout_width="match_parent" |
222 | 228 | android:layout_height="wrap_content" |
|
234 | 240 | android:layout_marginEnd="5dp" |
235 | 241 | android:layout_marginRight="5dp" |
236 | 242 | android:layout_marginTop="10dp" |
237 | | - android:layout_weight="50" /> |
| 243 | + android:layout_weight="50" |
| 244 | + tools:ignore="ContentDescription" /> |
238 | 245 |
|
239 | 246 | <ImageView |
240 | 247 | android:id="@+id/imageView6" |
|
257 | 264 | android:layout_marginTop="10dp" |
258 | 265 | tools:ignore="ContentDescription" /> |
259 | 266 |
|
260 | | - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 267 | + <LinearLayout |
261 | 268 | android:layout_width="match_parent" |
262 | 269 | android:layout_height="wrap_content" |
263 | 270 | android:layout_alignParentLeft="true" |
|
0 commit comments