11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <android .support.constraint.ConstraintLayout
3- xmlns : android =" http://schemas.android.com/apk/res/android"
4- xmlns : app =" http://schemas.android.com/apk/res-auto"
5- xmlns : tools =" http://schemas.android.com/tools"
6- android : layout_width =" match_parent"
7- android : layout_height =" wrap_content"
8- android : background =" ?android:attr/selectableItemBackground"
9- android : clickable =" true"
10- android : elevation =" @dimen/elevation"
11- android : focusable =" true"
12- android : padding =" @dimen/space_16" >
2+ <android .support.constraint.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4+ xmlns : tools =" http://schemas.android.com/tools"
5+ android : layout_width =" match_parent"
6+ android : layout_height =" wrap_content"
7+ android : background =" ?android:attr/selectableItemBackground"
8+ android : clickable =" true"
9+ android : elevation =" @dimen/elevation"
10+ android : focusable =" true"
11+ android : padding =" @dimen/space_16" >
1312
1413 <ImageView
15- android : id =" @+id/item_transaction_img_type"
16- android : layout_width =" wrap_content"
17- android : layout_height =" wrap_content"
18- android : src =" @drawable/ic_input"
19- android : textSize =" @dimen/size_text"
20- app : layout_constraintBottom_toBottomOf =" @id/item_transaction_tv_time"
21- app : layout_constraintLeft_toLeftOf =" parent"
22- app : layout_constraintTop_toTopOf =" @id/item_transaction_tv_address" />
14+ android : id =" @+id/item_transaction_img_type"
15+ android : layout_width =" wrap_content"
16+ android : layout_height =" wrap_content"
17+ android : src =" @drawable/ic_input"
18+ android : textSize =" @dimen/size_text"
19+ app : layout_constraintBottom_toBottomOf =" @id/item_transaction_tv_time"
20+ app : layout_constraintLeft_toLeftOf =" parent"
21+ app : layout_constraintTop_toTopOf =" @id/item_transaction_tv_address" />
22+
23+ <TextView
24+ android : id =" @+id/item_transaction_tv_address"
25+ android : layout_width =" 0dp"
26+ android : layout_height =" wrap_content"
27+ android : layout_marginLeft =" @dimen/space_8"
28+ android : layout_marginTop =" @dimen/space_8"
29+ android : layout_marginRight =" @dimen/space_8"
30+ android : ellipsize =" middle"
31+ android : singleLine =" true"
32+ android : textColor =" @color/LIGHT_BLACK"
33+ app : layout_constraintLeft_toRightOf =" @id/item_transaction_img_type"
34+ app : layout_constraintRight_toLeftOf =" @id/item_transaction_tv_amount"
35+ app : layout_constraintTop_toTopOf =" parent"
36+ tools : text =" ewrXrSDbCmqH/fkLuQkEMiwed3709C2k" />
2337
2438 <TextView
25- android : id =" @+id/item_transaction_tv_address"
26- android : layout_width =" 0dp"
27- android : layout_height =" wrap_content"
28- android : layout_marginTop =" @dimen/space_8"
29- android : layout_marginLeft =" @dimen/space_8"
30- android : layout_marginRight =" @dimen/space_8"
31- android : ellipsize =" middle"
32- android : singleLine =" true"
33- android : textColor =" @color/LIGHT_BLACK"
34- app : layout_constraintLeft_toRightOf =" @id/item_transaction_img_type"
35- app : layout_constraintRight_toLeftOf =" @id/item_transaction_tv_amount"
36- app : layout_constraintTop_toTopOf =" parent"
37- tools : text =" ewrXrSDbCmqH/fkLuQkEMiwed3709C2k" />
39+ android : id =" @+id/item_transaction_tv_amount"
40+ android : layout_width =" wrap_content"
41+ android : layout_height =" wrap_content"
42+ android : textColor =" @color/colorPrimary"
43+ android : textSize =" @dimen/size_title"
44+ app : layout_constraintBottom_toBottomOf =" @id/item_transaction_img_type"
45+ app : layout_constraintRight_toRightOf =" parent"
46+ app : layout_constraintTop_toTopOf =" @id/item_transaction_img_type"
47+ tools : text =" +100" />
3848
3949 <TextView
40- android : id =" @+id/item_transaction_tv_amount"
41- android : layout_width =" wrap_content"
42- android : layout_height =" wrap_content"
43- android : textColor =" @color/colorPrimary"
44- android : textSize =" @dimen/size_title"
45- app : layout_constraintBottom_toBottomOf =" @id/item_transaction_img_type"
46- app : layout_constraintRight_toRightOf =" parent"
47- app : layout_constraintTop_toTopOf =" @id/item_transaction_img_type"
48- tools : text =" +100" />
50+ android : id =" @+id/item_transaction_tv_time"
51+ android : layout_width =" wrap_content"
52+ android : layout_height =" wrap_content"
53+ android : layout_marginTop =" @dimen/space_4"
54+ android : textColor =" @color/GERY"
55+ android : textSize =" @dimen/size_tip"
56+ android : visibility =" visible"
57+ app : layout_constraintLeft_toLeftOf =" @id/item_transaction_tv_address"
58+ app : layout_constraintTop_toBottomOf =" @id/item_transaction_tv_address"
59+ tools : text =" 2018/2/23 23:33" />
4960
5061 <TextView
51- android : id =" @+id/item_transaction_tv_time"
52- android : layout_width =" wrap_content"
53- android : layout_height =" wrap_content"
54- android : visibility =" visible"
55- android : layout_marginTop =" @dimen/space_4"
56- android : textColor =" @color/GERY"
57- android : textSize =" @dimen/size_tip"
58- app : layout_constraintLeft_toLeftOf =" @id/item_transaction_tv_address"
59- app : layout_constraintTop_toBottomOf =" @id/item_transaction_tv_address"
60- tools : text =" 2018/2/23 23:33" />
62+ android : id =" @+id/item_transaction_tv_remark"
63+ android : layout_width =" wrap_content"
64+ android : layout_height =" wrap_content"
65+ android : textColor =" @color/GERY"
66+ android : textSize =" @dimen/size_tip"
67+ android : visibility =" visible"
68+ android : layout_marginStart =" @dimen/space_32"
69+ app : layout_constraintBottom_toBottomOf =" @id/item_transaction_tv_time"
70+ app : layout_constraintLeft_toRightOf =" @id/item_transaction_tv_time"
71+ app : layout_constraintTop_toTopOf =" @id/item_transaction_tv_time"
72+ tools : text =" remark" />
6173
6274</android .support.constraint.ConstraintLayout>
0 commit comments