|
20 | 20 | android:layout_width="match_parent" |
21 | 21 | android:layout_height="wrap_content" |
22 | 22 | android:layout_gravity="center" |
23 | | - android:background="@color/trans"> |
| 23 | + android:background="@color/trans"> |
24 | 24 |
|
25 | 25 | <TextView |
26 | 26 | android:layout_width="20dp" |
27 | | - android:layout_height="match_parent" |
| 27 | + android:layout_height="wrap_content" |
28 | 28 | android:text="+" |
29 | 29 | android:id="@+id/tv_sign" |
30 | 30 | android:textSize="18dp" |
31 | | - android:gravity="center" |
32 | | - android:layout_gravity="center" |
33 | | - android:minWidth="5dp" |
34 | 31 | android:layout_marginLeft="10dp" |
35 | | - android:background="@color/trans" /> |
| 32 | + android:background="@color/trans" |
| 33 | + android:gravity="center_horizontal|top" /> |
36 | 34 |
|
37 | 35 | <TextView |
38 | 36 | android:layout_width="match_parent" |
|
42 | 40 | android:textSize="18dp" |
43 | 41 | android:layout_weight="1.15" |
44 | 42 | android:gravity="center|left" |
45 | | - android:layout_gravity="center_vertical" |
46 | 43 | android:background="@color/trans" /> |
47 | 44 |
|
48 | 45 | <TextView |
|
52 | 49 | android:id="@+id/tv_title" |
53 | 50 | android:textSize="18dp" |
54 | 51 | android:layout_weight="1" |
55 | | - android:layout_gravity="center_vertical" |
| 52 | + android:layout_gravity="center_vertical|top" |
56 | 53 | android:gravity="left" |
57 | 54 | android:layout_marginLeft="2dp" |
58 | | - android:background="@color/trans" /> |
| 55 | + android:background="@color/trans" |
| 56 | + android:paddingBottom="5dp" /> |
59 | 57 |
|
60 | 58 | <TextView |
61 | 59 | android:layout_width="match_parent" |
|
64 | 62 | android:id="@+id/tv_category" |
65 | 63 | android:textSize="18dp" |
66 | 64 | android:layout_weight="1" |
67 | | - android:layout_gravity="center_vertical" |
| 65 | + android:layout_gravity="center_vertical|top" |
68 | 66 | android:gravity="left" |
69 | 67 | android:layout_marginLeft="2dp" |
70 | | - android:background="@color/trans" /> |
| 68 | + android:background="@color/trans" |
| 69 | + android:paddingBottom="5dp" /> |
71 | 70 |
|
72 | 71 | <Button |
73 | 72 | android:layout_width="30dp" |
74 | 73 | android:layout_height="30dp" |
75 | 74 | android:id="@+id/b_remove" |
76 | 75 | android:background="@drawable/ic_action_remove" |
77 | | - android:layout_gravity="center|right" |
| 76 | + android:layout_gravity="center|right|top" |
78 | 77 | android:layout_margin="5dp" /> |
79 | 78 |
|
80 | 79 | </LinearLayout> |
|
0 commit comments