|
6 | 6 | android:layout_height="match_parent">
|
7 | 7 |
|
8 | 8 |
|
9 |
| - <LinearLayout android:layout_width="match_parent" |
10 |
| - android:layout_height="wrap_content" |
11 |
| - android:layout_marginTop="16dp" |
12 |
| - android:orientation="horizontal"> |
13 |
| - |
14 |
| - <TextView android:layout_width="108px" |
15 |
| - android:layout_height="108px" |
16 |
| - android:layout_marginLeft="10px" |
17 |
| - android:layout_marginRight="20px" |
18 |
| - android:background="#44ff0000" |
19 |
| - android:gravity="center" |
20 |
| - android:text="我" |
21 |
| - app:layout_auto_basewidth="height"/> |
22 |
| - |
23 |
| - <TextView android:layout_width="108px" |
24 |
| - android:layout_height="108px" |
25 |
| - android:layout_marginRight="20px" |
26 |
| - android:background="#44ff0000" |
27 |
| - android:gravity="center" |
28 |
| - android:text="们" |
29 |
| - app:layout_auto_basewidth="height"/> |
30 |
| - |
31 |
| - <TextView android:layout_width="108px" |
32 |
| - android:layout_height="108px" |
33 |
| - android:layout_marginRight="20px" |
34 |
| - android:background="#44ff0000" |
35 |
| - android:gravity="center" |
36 |
| - android:text="是" |
37 |
| - app:layout_auto_basewidth="height"/> |
38 |
| - |
39 |
| - <TextView android:layout_width="108px" |
40 |
| - android:layout_height="108px" |
41 |
| - android:layout_marginRight="20px" |
42 |
| - android:background="#44ff0000" |
43 |
| - android:gravity="center" |
44 |
| - android:text="正" |
45 |
| - app:layout_auto_basewidth="height"/> |
46 |
| - |
47 |
| - <TextView android:layout_width="108px" |
48 |
| - android:layout_height="108px" |
49 |
| - android:layout_marginRight="20px" |
50 |
| - android:background="#44ff0000" |
51 |
| - android:gravity="center" |
52 |
| - android:text="方" |
53 |
| - app:layout_auto_basewidth="height"/> |
54 |
| - |
55 |
| - <TextView android:layout_width="108px" |
56 |
| - android:layout_height="108px" |
57 |
| - android:layout_marginRight="10px" |
58 |
| - android:background="#44ff0000" |
59 |
| - android:gravity="center" |
60 |
| - android:text="形" |
61 |
| - app:layout_auto_basewidth="height"/> |
| 9 | + <LinearLayout |
| 10 | + android:layout_width="match_parent" |
| 11 | + android:layout_height="wrap_content" |
| 12 | + android:layout_marginTop="16dp" |
| 13 | + android:orientation="horizontal"> |
| 14 | + |
| 15 | + <TextView |
| 16 | + android:layout_width="108px" |
| 17 | + android:layout_height="108px" |
| 18 | + android:layout_marginLeft="10px" |
| 19 | + android:layout_marginRight="20px" |
| 20 | + android:background="#44ff0000" |
| 21 | + android:gravity="center" |
| 22 | + android:tag="auto" |
| 23 | + android:text="我" |
| 24 | + app:layout_auto_basewidth="height"/> |
| 25 | + |
| 26 | + <TextView |
| 27 | + android:layout_width="108px" |
| 28 | + android:layout_height="108px" |
| 29 | + android:layout_marginRight="20px" |
| 30 | + android:background="#44ff0000" |
| 31 | + android:gravity="center" |
| 32 | + android:text="们" |
| 33 | + app:layout_auto_basewidth="height"/> |
| 34 | + |
| 35 | + <TextView |
| 36 | + android:layout_width="108px" |
| 37 | + android:layout_height="108px" |
| 38 | + android:layout_marginRight="20px" |
| 39 | + android:background="#44ff0000" |
| 40 | + android:gravity="center" |
| 41 | + android:text="是" |
| 42 | + app:layout_auto_basewidth="height"/> |
| 43 | + |
| 44 | + <TextView |
| 45 | + android:layout_width="108px" |
| 46 | + android:layout_height="108px" |
| 47 | + android:layout_marginRight="20px" |
| 48 | + android:background="#44ff0000" |
| 49 | + android:gravity="center" |
| 50 | + android:text="正" |
| 51 | + app:layout_auto_basewidth="height"/> |
| 52 | + |
| 53 | + <TextView |
| 54 | + android:layout_width="108px" |
| 55 | + android:layout_height="108px" |
| 56 | + android:layout_marginRight="20px" |
| 57 | + android:background="#44ff0000" |
| 58 | + android:gravity="center" |
| 59 | + android:text="方" |
| 60 | + app:layout_auto_basewidth="height"/> |
| 61 | + |
| 62 | + <TextView |
| 63 | + android:layout_width="108px" |
| 64 | + android:layout_height="108px" |
| 65 | + android:layout_marginRight="10px" |
| 66 | + android:background="#44ff0000" |
| 67 | + android:gravity="center" |
| 68 | + android:text="形" |
| 69 | + app:layout_auto_basewidth="height"/> |
62 | 70 | </LinearLayout>
|
63 | 71 |
|
64 | 72 |
|
|
77 | 85 | <TextView android:layout_width="match_parent"
|
78 | 86 | android:layout_height="match_parent"
|
79 | 87 | android:layout_margin="32px"
|
80 |
| - android:gravity="center" |
81 | 88 | android:background="#e5ff1e"
|
| 89 | + android:gravity="center" |
82 | 90 | android:text="测试margin,padding等"
|
83 | 91 | app:layout_auto_basewidth="margin">
|
84 | 92 |
|
|
0 commit comments