|
1 <LinearLayout |
|
2 xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 android:layout_width="match_parent" |
|
4 android:layout_height="wrap_content" |
|
5 android:orientation="horizontal" |
|
6 android:background="@color/file_list_bg" |
|
7 > |
|
8 |
|
9 <CheckBox |
|
10 android:id="@+id/fcb" |
|
11 android:layout_width="wrap_content" |
|
12 android:layout_height="wrap_content" |
|
13 android:focusable="false" |
|
14 /> |
|
15 |
|
16 <ImageView |
|
17 android:id="@+id/fic" |
|
18 android:layout_width="wrap_content" |
|
19 android:layout_height="wrap_content" |
|
20 android:layout_marginRight="3dp" |
|
21 android:adjustViewBounds="true" |
|
22 android:scaleType="centerInside" |
|
23 /> |
|
24 |
|
25 <LinearLayout |
|
26 android:id="@+id/fllv" |
|
27 android:layout_width="match_parent" |
|
28 android:layout_height="wrap_content" |
|
29 android:orientation="vertical" |
|
30 > |
|
31 |
|
32 <TextView |
|
33 android:id="@+id/fname" |
|
34 android:layout_width="match_parent" |
|
35 android:layout_height="wrap_content" |
|
36 android:ellipsize="end" |
|
37 android:maxLines="1" |
|
38 android:textColor="@color/file_name_color" |
|
39 android:textSize="@dimen/file_name_size" |
|
40 /> |
|
41 |
|
42 <LinearLayout |
|
43 android:id="@+id/fllh" |
|
44 android:layout_width="match_parent" |
|
45 android:layout_height="wrap_content" |
|
46 android:orientation="horizontal" |
|
47 > |
|
48 |
|
49 <TextView |
|
50 android:id="@+id/fsize" |
|
51 android:layout_width="0dp" |
|
52 android:layout_height="wrap_content" |
|
53 android:layout_weight="1" |
|
54 android:textColor="@color/file_size_color" |
|
55 android:textSize="@dimen/file_attr_size" |
|
56 /> |
|
57 |
|
58 <TextView |
|
59 android:id="@+id/fdate" |
|
60 android:layout_width="0dp" |
|
61 android:layout_height="wrap_content" |
|
62 android:layout_weight="1" |
|
63 android:textColor="@color/file_date_color" |
|
64 android:textSize="@dimen/file_attr_size" |
|
65 /> |
|
66 |
|
67 </LinearLayout> |
|
68 |
|
69 </LinearLayout> |
|
70 |
|
71 </LinearLayout> |