OSDN Git Service

c40d445e36a808fbca311e512afcf0d946b4daed
[android-x86/external-koush-Widgets.git] / Widgets / res / layout / list_item_base.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <merge xmlns:android="http://schemas.android.com/apk/res/android">
3
4     <ImageView
5         android:id="@+id/image"
6         android:layout_width="48dp"
7         android:layout_height="32dp"
8         android:layout_gravity="center_vertical"
9         android:layout_margin="2dp"
10         android:scaleType="fitCenter" >
11     </ImageView>
12
13     <LinearLayout
14         android:layout_width="0dp"
15         android:layout_height="wrap_content"
16         android:layout_gravity="center_vertical"
17         android:layout_weight="1"
18         android:orientation="vertical" >
19
20         <TextView
21             android:id="@+id/title"
22             android:layout_width="fill_parent"
23             android:layout_height="wrap_content"
24             android:textColor="@android:color/primary_text_dark"
25             android:textSize="18sp" />
26
27         <TextView
28             android:id="@+id/summary"
29             android:layout_width="fill_parent"
30             android:layout_height="wrap_content"
31             android:textColor="@android:color/secondary_text_dark"
32             android:textSize="12sp" />
33     </LinearLayout>
34
35     <CheckBox
36         android:id="@+id/checkbox"
37         android:layout_width="wrap_content"
38         android:layout_height="wrap_content"
39         android:layout_gravity="center"
40         android:layout_marginLeft="2dp"
41         android:layout_marginRight="2dp"
42         android:focusable="false"
43         android:focusableInTouchMode="false" />
44
45 </merge>