hnssn_item_payment_channel.xml
2.4 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?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="50dp"
android:background="@color/hnssn_color_white">
<ImageView
android:id="@+id/hnssn_item_payment_icon"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="23dp"
android:scaleType="centerCrop"
android:src="@drawable/wan_icon_pay_alipay" />
<CheckBox
android:id="@+id/hnssn_item_payment_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_marginRight="@dimen/hnssn_dimen_payment_item_margin_vertical"
android:clickable="false"
android:enabled="false"
android:focusable="false"
android:focusableInTouchMode="false"
android:button="@drawable/hnssn_payment_selector_checkbox" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:layout_toLeftOf="@id/hnssn_item_payment_checkbox"
android:layout_toRightOf="@id/hnssn_item_payment_icon"
android:orientation="vertical">
<TextView
android:id="@+id/hnssn_item_payment_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/hnssn_color_black"
android:textSize="15sp" />
<TextView
android:id="@+id/hnssn_item_payment_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:textColor="@color/hnssn_color_blue_payment_description"
android:textSize="10sp" />
</LinearLayout>
<!-- <View
android:layout_width="match_parent"
android:layout_height="1sp"
android:layout_marginLeft="14dp"
android:layout_marginRight="14dp"
android:background="@color/fbsdk_color_splite_line"
android:layout_alignParentBottom="true"/>-->
</RelativeLayout>