Skip to content

Commit 5d502fb

Browse files
authored
Update file_item.xml
1 parent a14b422 commit 5d502fb

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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">
57

68
<ImageView
79
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" />
1114

1215
<TextView
1316
android:id="@+id/fileName"
1417
android:layout_width="0dp"
1518
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" />
1723

1824
<CheckBox
1925
android:id="@+id/fileCheck"
2026
android:layout_width="wrap_content"
21-
android:layout_height="wrap_content"/>
27+
android:layout_height="wrap_content" />
2228
</LinearLayout>

0 commit comments

Comments
 (0)