OSDN Git Service

styling fixes
[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="@dimen/section_padding"
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:textSize="18sp" />
25
26         <TextView
27             android:id="@+id/summary"
28             android:layout_width="fill_parent"
29             android:layout_height="wrap_content"
30             android:textSize="12sp" />
31     </LinearLayout>
32
33     <CheckBox
34         android:id="@+id/checkbox"
35         android:layout_width="wrap_content"
36         android:layout_height="wrap_content"
37         android:layout_gravity="center"
38         android:layout_margin="@dimen/section_padding"
39         android:focusable="false"
40         android:focusableInTouchMode="false" />
41
42 </merge>