| 21478 |
rajender |
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="48dp"
|
|
|
5 |
android:background="@drawable/list_selector">
|
|
|
6 |
|
|
|
7 |
<ImageView
|
|
|
8 |
android:id="@+id/icon"
|
|
|
9 |
android:layout_width="25dp"
|
|
|
10 |
android:layout_height="wrap_content"
|
|
|
11 |
android:layout_alignParentLeft="true"
|
|
|
12 |
android:layout_marginLeft="12dp"
|
|
|
13 |
android:layout_marginRight="12dp"
|
|
|
14 |
android:contentDescription="@string/desc_list_item_icon"
|
|
|
15 |
android:layout_centerVertical="true"
|
|
|
16 |
/>
|
|
|
17 |
|
|
|
18 |
<TextView
|
|
|
19 |
android:id="@+id/title"
|
|
|
20 |
android:layout_width="wrap_content"
|
|
|
21 |
android:layout_height="match_parent"
|
|
|
22 |
android:layout_toRightOf="@id/icon"
|
|
|
23 |
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
|
|
24 |
android:textAppearance="?android:attr/textAppearanceListItemSmall"
|
|
|
25 |
android:textColor="@color/Black"
|
|
|
26 |
android:gravity="center_vertical"
|
|
|
27 |
android:paddingRight="40dp"
|
|
|
28 |
/>
|
|
|
29 |
|
|
|
30 |
<TextView android:id="@+id/counter"
|
|
|
31 |
android:layout_width="wrap_content"
|
|
|
32 |
android:layout_height="wrap_content"
|
|
|
33 |
android:background="@drawable/counter_bg"
|
|
|
34 |
android:layout_alignParentRight="true"
|
|
|
35 |
android:layout_centerVertical="true"
|
|
|
36 |
android:layout_marginRight="8dp"
|
|
|
37 |
android:textColor="@color/White"/>
|
|
|
38 |
|
|
|
39 |
</RelativeLayout>
|