hnssn_item_account_info.xml
1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="44dp"
android:background="@android:color/transparent">
<ImageView
android:id="@+id/hnssn_item_account_icon"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/hnssn_dimen_payment_item_margin_vertical"
android:scaleType="centerCrop"
android:src="@drawable/hnssn_icon_default_user" />
<CheckBox
android:id="@+id/hnssn_item_account_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/hnssn_dimen_payment_item_margin_vertical"
android:button="@drawable/hnssn_account_selector_checkbox"
android:clickable="false"
android:enabled="false"
android:focusable="false"
android:focusableInTouchMode="false" />
<TextView
android:id="@+id/hnssn_item_account_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:layout_toLeftOf="@id/hnssn_item_account_checkbox"
android:layout_toRightOf="@id/hnssn_item_account_icon"
android:textColor="@drawable/hnssn_account_selector_textcolor"
android:textSize="13sp" />
</RelativeLayout>