|
6 | 6 | android:orientation="vertical" |
7 | 7 | android:padding="16dp"> |
8 | 8 |
|
9 | | - <View |
10 | | - android:layout_width="match_parent" |
11 | | - android:layout_height="32dp" /> |
12 | | - |
13 | 9 | <View |
14 | 10 | android:layout_width="match_parent" |
15 | 11 | android:layout_height="1px" |
| 12 | + android:layout_marginTop="32dp" |
16 | 13 | android:background="@drawable/common_item_divider" /> |
17 | 14 |
|
18 | 15 | <LinearLayout |
19 | 16 | android:layout_width="match_parent" |
20 | 17 | android:layout_height="wrap_content" |
21 | | - android:gravity="center_horizontal"> |
| 18 | + android:gravity="center" |
| 19 | + android:orientation="horizontal"> |
22 | 20 |
|
23 | 21 | <View |
24 | 22 | android:layout_width="80dp" |
25 | 23 | android:layout_height="80dp" |
26 | | - android:background="@color/colorAccent" |
| 24 | + android:layout_gravity="center" |
| 25 | + android:background="#80FF73A3" |
27 | 26 | android:clickable="true" /> |
28 | 27 |
|
29 | 28 | <View |
30 | 29 | android:id="@+id/shadowRectView" |
31 | 30 | android:layout_width="80dp" |
32 | 31 | android:layout_height="80dp" |
33 | | - android:layout_marginLeft="32dp" |
34 | | - android:background="@color/colorAccent" |
| 32 | + android:layout_gravity="center" |
| 33 | + android:layout_marginLeft="16dp" |
| 34 | + android:background="#80FF73A3" |
35 | 35 | android:clickable="true" /> |
36 | 36 |
|
| 37 | + <FrameLayout |
| 38 | + android:layout_width="wrap_content" |
| 39 | + android:layout_height="wrap_content" |
| 40 | + android:layout_marginLeft="16dp"> |
| 41 | + |
| 42 | + |
| 43 | + <View |
| 44 | + android:layout_width="80dp" |
| 45 | + android:layout_height="80dp" |
| 46 | + android:layout_gravity="center" |
| 47 | + android:background="#80FF73A3" |
| 48 | + android:clickable="true" /> |
| 49 | + |
| 50 | + <View |
| 51 | + android:id="@+id/shadowRectView1" |
| 52 | + android:layout_width="80dp" |
| 53 | + android:layout_height="80dp" |
| 54 | + android:layout_gravity="center" |
| 55 | + android:background="#80FF73A3" |
| 56 | + android:clickable="true" /> |
| 57 | + |
| 58 | + </FrameLayout> |
| 59 | + |
37 | 60 | </LinearLayout> |
38 | 61 |
|
39 | 62 | <View |
40 | 63 | android:layout_width="match_parent" |
41 | 64 | android:layout_height="1px" |
42 | 65 | android:background="@drawable/common_item_divider" /> |
43 | 66 |
|
44 | | - <View |
45 | | - android:layout_width="match_parent" |
46 | | - android:layout_height="32dp" /> |
47 | | - |
48 | 67 | <View |
49 | 68 | android:layout_width="match_parent" |
50 | 69 | android:layout_height="1px" |
| 70 | + android:layout_marginTop="32dp" |
51 | 71 | android:background="@drawable/common_item_divider" /> |
52 | 72 |
|
53 | 73 | <LinearLayout |
54 | 74 | android:layout_width="match_parent" |
55 | 75 | android:layout_height="wrap_content" |
56 | | - android:gravity="center_horizontal"> |
| 76 | + android:gravity="center" |
| 77 | + android:orientation="horizontal"> |
57 | 78 |
|
58 | 79 | <View |
59 | 80 | android:layout_width="80dp" |
60 | 81 | android:layout_height="80dp" |
| 82 | + android:layout_gravity="center" |
61 | 83 | android:background="@drawable/shadow_round_rect" |
62 | 84 | android:clickable="true" /> |
63 | 85 |
|
64 | 86 | <View |
65 | 87 | android:id="@+id/shadowRoundRectView" |
66 | 88 | android:layout_width="80dp" |
67 | 89 | android:layout_height="80dp" |
68 | | - android:layout_marginLeft="32dp" |
| 90 | + android:layout_gravity="center" |
| 91 | + android:layout_marginLeft="16dp" |
69 | 92 | android:background="@drawable/shadow_round_rect" |
70 | 93 | android:clickable="true" /> |
71 | 94 |
|
| 95 | + <FrameLayout |
| 96 | + android:layout_width="wrap_content" |
| 97 | + android:layout_height="wrap_content" |
| 98 | + android:layout_marginLeft="16dp"> |
| 99 | + |
| 100 | + <View |
| 101 | + android:layout_width="80dp" |
| 102 | + android:layout_height="80dp" |
| 103 | + android:layout_gravity="center" |
| 104 | + android:background="@drawable/shadow_round_rect" |
| 105 | + android:clickable="true" /> |
| 106 | + |
| 107 | + <View |
| 108 | + android:id="@+id/shadowRoundRectView1" |
| 109 | + android:layout_width="80dp" |
| 110 | + android:layout_height="80dp" |
| 111 | + android:layout_gravity="center" |
| 112 | + android:background="@drawable/shadow_round_rect" |
| 113 | + android:clickable="true" /> |
| 114 | + |
| 115 | + </FrameLayout> |
| 116 | + |
72 | 117 | </LinearLayout> |
73 | 118 |
|
| 119 | + |
74 | 120 | <View |
75 | 121 | android:layout_width="match_parent" |
76 | 122 | android:layout_height="1px" |
77 | 123 | android:background="@drawable/common_item_divider" /> |
78 | 124 |
|
79 | | - <View |
80 | | - android:layout_width="match_parent" |
81 | | - android:layout_height="32dp" /> |
82 | | - |
83 | 125 | <View |
84 | 126 | android:layout_width="match_parent" |
85 | 127 | android:layout_height="1px" |
| 128 | + android:layout_marginTop="32dp" |
86 | 129 | android:background="@drawable/common_item_divider" /> |
87 | 130 |
|
88 | 131 | <LinearLayout |
89 | 132 | android:layout_width="match_parent" |
90 | 133 | android:layout_height="wrap_content" |
91 | | - android:gravity="center_horizontal"> |
| 134 | + android:gravity="center" |
| 135 | + android:orientation="horizontal"> |
92 | 136 |
|
93 | 137 | <View |
94 | 138 | android:layout_width="80dp" |
95 | 139 | android:layout_height="80dp" |
| 140 | + android:layout_gravity="center" |
96 | 141 | android:background="@drawable/shadow_circle" |
97 | 142 | android:clickable="true" /> |
98 | 143 |
|
99 | 144 | <View |
100 | 145 | android:id="@+id/shadowCircleView" |
101 | 146 | android:layout_width="80dp" |
102 | 147 | android:layout_height="80dp" |
103 | | - android:layout_marginLeft="32dp" |
| 148 | + android:layout_gravity="center" |
| 149 | + android:layout_marginLeft="16dp" |
104 | 150 | android:background="@drawable/shadow_circle" |
105 | 151 | android:clickable="true" /> |
106 | 152 |
|
| 153 | + <FrameLayout |
| 154 | + android:layout_width="wrap_content" |
| 155 | + android:layout_height="wrap_content" |
| 156 | + android:layout_marginLeft="16dp"> |
| 157 | + |
| 158 | + <View |
| 159 | + android:layout_width="80dp" |
| 160 | + android:layout_height="80dp" |
| 161 | + android:layout_gravity="center" |
| 162 | + android:background="@drawable/shadow_circle" |
| 163 | + android:clickable="true" /> |
| 164 | + |
| 165 | + <View |
| 166 | + android:id="@+id/shadowCircleView1" |
| 167 | + android:layout_width="80dp" |
| 168 | + android:layout_height="80dp" |
| 169 | + android:layout_gravity="center" |
| 170 | + android:background="@drawable/shadow_circle" |
| 171 | + android:clickable="true" /> |
| 172 | + |
| 173 | + </FrameLayout> |
| 174 | + |
107 | 175 | </LinearLayout> |
108 | 176 |
|
109 | 177 | <View |
|
0 commit comments