|
2 | 2 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto"
|
4 | 4 | xmlns:tools="http://schemas.android.com/tools"
|
| 5 | + android:orientation="vertical" |
5 | 6 | android:layout_width="match_parent"
|
6 | 7 | android:layout_height="match_parent"
|
7 | 8 | android:background="?attr/mainBackground"
|
8 |
| - android:orientation="vertical"> |
| 9 | + > |
9 | 10 |
|
10 | 11 | <ImageView
|
11 | 12 | android:id="@+id/mediaDetailImageFailed"
|
12 |
| - android:layout_width="wrap_content" |
13 | 13 | android:layout_height="wrap_content"
|
| 14 | + android:layout_width="wrap_content" |
14 | 15 | android:layout_gravity="center"
|
15 |
| - android:contentDescription="@string/mediaimage_failed" |
16 | 16 | android:src="@android:drawable/ic_menu_close_clear_cancel"
|
17 |
| - android:visibility="gone" /> |
| 17 | + android:visibility="gone" |
| 18 | + android:contentDescription="@string/mediaimage_failed" |
| 19 | + /> |
18 | 20 |
|
19 | 21 | <fr.free.nrw.commons.MediaWikiImageView
|
20 | 22 | android:id="@+id/mediaDetailImage"
|
21 | 23 | android:layout_width="match_parent"
|
22 | 24 | android:layout_height="match_parent"
|
23 |
| - app:actualImageScaleType="fitCenter" /> |
| 25 | + app:actualImageScaleType="fitCenter" |
| 26 | + /> |
24 | 27 |
|
25 | 28 | <ScrollView
|
26 | 29 | android:id="@+id/mediaDetailScrollView"
|
|
83 | 86 | android:layout_height="@dimen/small_gap" />
|
84 | 87 |
|
85 | 88 | <LinearLayout
|
86 |
| - android:id="@+id/authorLinearLayout" |
87 | 89 | android:layout_width="match_parent"
|
88 | 90 | android:layout_height="wrap_content"
|
| 91 | + android:id="@+id/authorLinearLayout" |
89 | 92 | android:background="?attr/subBackground"
|
90 | 93 | android:orientation="vertical"
|
91 | 94 | android:padding="@dimen/standard_gap">
|
|
284 | 287 |
|
285 | 288 | <LinearLayout
|
286 | 289 | android:id="@+id/nominatedDeletionBanner"
|
| 290 | + android:background="@color/deleteRed" |
287 | 291 | android:layout_width="match_parent"
|
288 | 292 | android:layout_height="wrap_content"
|
289 |
| - android:background="@color/deleteRed" |
290 | 293 | android:orientation="vertical"
|
291 | 294 | android:padding="@dimen/standard_gap"
|
292 | 295 | android:visibility="gone">
|
293 |
| - |
294 | 296 | <TextView
|
295 | 297 | android:layout_width="match_parent"
|
296 | 298 | android:layout_height="wrap_content"
|
297 | 299 | android:gravity="center"
|
298 | 300 | android:text="@string/nominated_for_deletion"
|
299 | 301 | android:textColor="@color/primaryTextColor"
|
300 | 302 | android:textSize="@dimen/normal_text"
|
301 |
| - android:textStyle="bold" /> |
302 |
| - |
| 303 | + android:textStyle="bold"/> |
303 | 304 | <TextView
|
304 | 305 | android:id="@+id/seeMore"
|
305 | 306 | android:layout_width="match_parent"
|
|
308 | 309 | android:paddingTop="@dimen/standard_gap"
|
309 | 310 | android:textColor="@color/primaryTextColor"
|
310 | 311 | android:textSize="@dimen/normal_text"
|
311 |
| - android:textStyle="bold" /> |
| 312 | + android:textStyle="bold"/> |
312 | 313 | </LinearLayout>
|
313 | 314 |
|
314 | 315 | <Button
|
|
322 | 323 |
|
323 | 324 | <Button
|
324 | 325 | android:id="@+id/nominateDeletion"
|
| 326 | + android:background="@drawable/bg_delete_button" |
| 327 | + android:textColor="@color/primaryTextColor" |
| 328 | + android:layout_margin="@dimen/standard_gap" |
325 | 329 | android:layout_width="match_parent"
|
326 | 330 | android:layout_height="wrap_content"
|
327 |
| - android:layout_margin="@dimen/standard_gap" |
328 |
| - android:background="@drawable/bg_delete_button" |
329 |
| - android:text="@string/nominate_deletion" |
330 |
| - android:textColor="@color/primaryTextColor" /> |
| 331 | + android:text="@string/nominate_deletion"/> |
331 | 332 | </LinearLayout>
|
332 | 333 | </LinearLayout>
|
333 | 334 | </ScrollView>
|
|
0 commit comments