|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 android:gravity="center_vertical" |
|
8 android:layout_width="fill_parent" |
|
9 android:layout_height="wrap_content" |
|
10 android:minHeight="?android:attr/listPreferredItemHeight" |
|
11 android:orientation="horizontal" |
|
12 android:padding="5dp" > |
|
13 |
|
14 <ImageView |
|
15 android:id="@+id/img" |
|
16 android:layout_width="wrap_content" |
|
17 android:layout_height="wrap_content" |
|
18 android:padding="10dp" |
|
19 android:layout_marginRight="10dip" /> |
|
20 |
|
21 <TextView |
|
22 android:id="@+id/client_name" |
|
23 android:layout_gravity="center" |
|
24 android:layout_width="0dp" |
|
25 android:layout_weight="0.5" |
|
26 android:layout_height="wrap_content" /> |
|
27 |
|
28 <CheckBox |
|
29 android:id="@+id/check" |
|
30 android:layout_width="40dp" |
|
31 android:layout_height="40dp" |
|
32 android:layout_marginLeft="10dip" /> |
|
33 |
|
34 </LinearLayout> |