|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | | - android:orientation="horizontal" android:layout_width="match_parent" |
4 | | - android:layout_height="wrap_content" android:padding="8dp"> |
| 3 | + android:layout_width="match_parent" |
| 4 | + android:layout_height="wrap_content" |
| 5 | + android:orientation="horizontal" |
| 6 | + android:padding="8dp"> |
5 | 7 |
|
6 | 8 | <ImageView |
7 | 9 | android:id="@+id/fileIcon" |
8 | | - android:layout_width="24dp" |
9 | | - android:layout_height="24dp" |
10 | | - android:layout_marginEnd="8dp"/> |
| 10 | + android:layout_width="40dp" |
| 11 | + android:layout_height="40dp" |
| 12 | + android:src="@android:drawable/ic_menu_info_details" |
| 13 | + android:contentDescription="File icon" /> |
11 | 14 |
|
12 | 15 | <TextView |
13 | 16 | android:id="@+id/fileName" |
14 | 17 | android:layout_width="0dp" |
15 | 18 | android:layout_height="wrap_content" |
16 | | - android:layout_weight="1"/> |
| 19 | + android:layout_weight="1" |
| 20 | + android:text="File name" |
| 21 | + android:paddingStart="8dp" |
| 22 | + android:gravity="center_vertical" /> |
17 | 23 |
|
18 | 24 | <CheckBox |
19 | 25 | android:id="@+id/fileCheck" |
20 | 26 | android:layout_width="wrap_content" |
21 | | - android:layout_height="wrap_content"/> |
| 27 | + android:layout_height="wrap_content" /> |
22 | 28 | </LinearLayout> |
0 commit comments