1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
---|
3 | android:layout_width="match_parent" |
---|
4 | android:layout_height="match_parent" |
---|
5 | android:background="@drawable/background_item" |
---|
6 | android:gravity="center_vertical" |
---|
7 | android:maxHeight="50dp" |
---|
8 | android:minHeight="50dp" |
---|
9 | android:orientation="horizontal" > |
---|
10 | |
---|
11 | <ImageView |
---|
12 | android:id="@+id/type_image" |
---|
13 | android:layout_width="35dp" |
---|
14 | android:layout_height="wrap_content" |
---|
15 | android:layout_alignParentLeft="true" |
---|
16 | android:layout_centerVertical="true" |
---|
17 | |
---|
18 | android:contentDescription="@string/type" |
---|
19 | /> |
---|
20 | |
---|
21 | <LinearLayout |
---|
22 | android:id="@+id/filename_data" |
---|
23 | android:layout_width="wrap_content" |
---|
24 | android:layout_height="fill_parent" |
---|
25 | android:layout_centerVertical="true" |
---|
26 | android:layout_toLeftOf="@+id/file_checkbox" |
---|
27 | android:layout_toRightOf="@+id/type_image" |
---|
28 | android:orientation="vertical" > |
---|
29 | |
---|
30 | <TextView |
---|
31 | android:id="@+id/filename_text" |
---|
32 | style="@style/style_font_files" |
---|
33 | android:layout_width="fill_parent" |
---|
34 | android:layout_height="wrap_content" /> |
---|
35 | |
---|
36 | <TextView |
---|
37 | android:id="@+id/filename_modified" |
---|
38 | style="@style/style_font_date" |
---|
39 | android:layout_width="fill_parent" |
---|
40 | android:layout_height="wrap_content" /> |
---|
41 | </LinearLayout> |
---|
42 | |
---|
43 | <RadioButton |
---|
44 | android:id="@+id/file_radio" |
---|
45 | android:layout_width="wrap_content" |
---|
46 | android:layout_height="wrap_content" |
---|
47 | android:layout_alignParentRight="true" |
---|
48 | android:layout_centerVertical="true" |
---|
49 | android:layout_marginRight="10dp" |
---|
50 | android:clickable="false" |
---|
51 | android:focusable="false" |
---|
52 | android:gravity="center" /> |
---|
53 | |
---|
54 | </RelativeLayout> |
---|