|
28 | 28 | android:orientation="vertical" |
29 | 29 | android:padding="@dimen/cat_checkbox_padding"> |
30 | 30 |
|
31 | | - <GridLayout |
32 | | - android:layout_width="wrap_content" |
33 | | - android:layout_height="wrap_content" |
34 | | - android:columnCount="3" |
35 | | - android:useDefaultMargins="true"> |
36 | | - |
37 | 31 | <TextView |
38 | 32 | android:layout_width="match_parent" |
39 | | - android:layout_height="match_parent" |
40 | | - android:layout_columnSpan="3" |
41 | | - android:text="@string/cat_checkbox_intro" /> |
| 33 | + android:layout_height="wrap_content" |
| 34 | + android:text="@string/cat_checkbox_intro" |
| 35 | + android:layout_marginBottom="@dimen/cat_checkbox_padding"/> |
42 | 36 |
|
43 | 37 | <CheckBox |
44 | | - android:layout_width="match_parent" |
45 | | - android:layout_height="match_parent" |
| 38 | + android:layout_width="wrap_content" |
| 39 | + android:layout_height="wrap_content" |
46 | 40 | android:checked="true" |
47 | 41 | android:enabled="true" |
48 | | - android:text="@string/cat_checkbox_enabled" /> |
| 42 | + android:text="@string/cat_checkbox_enabled" |
| 43 | + android:layout_marginBottom="@dimen/cat_checkbox_padding"/> |
49 | 44 |
|
50 | 45 | <CheckBox |
51 | | - android:layout_width="match_parent" |
52 | | - android:layout_height="match_parent" |
| 46 | + android:layout_width="wrap_content" |
| 47 | + android:layout_height="wrap_content" |
53 | 48 | android:checked="false" |
54 | 49 | android:enabled="true" |
55 | | - android:text="@string/cat_checkbox_enabled" /> |
| 50 | + android:text="@string/cat_checkbox_enabled" |
| 51 | + android:layout_marginBottom="@dimen/cat_checkbox_padding"/> |
56 | 52 |
|
57 | 53 | <CheckBox |
58 | | - android:layout_width="match_parent" |
59 | | - android:layout_height="match_parent" |
| 54 | + android:layout_width="wrap_content" |
| 55 | + android:layout_height="wrap_content" |
60 | 56 | app:checkedState="indeterminate" |
61 | 57 | android:enabled="true" |
62 | | - android:text="@string/cat_checkbox_enabled" /> |
| 58 | + android:text="@string/cat_checkbox_enabled" |
| 59 | + android:layout_marginBottom="@dimen/cat_checkbox_padding"/> |
63 | 60 |
|
64 | 61 | <TextView |
65 | 62 | android:layout_width="match_parent" |
66 | | - android:layout_height="match_parent" |
67 | | - android:layout_columnSpan="3" |
68 | | - android:text="@string/cat_checkbox_disabled_guide" /> |
| 63 | + android:layout_height="wrap_content" |
| 64 | + android:text="@string/cat_checkbox_disabled_guide" |
| 65 | + android:layout_marginBottom="@dimen/cat_checkbox_padding"/> |
69 | 66 |
|
70 | 67 | <CheckBox |
71 | | - android:layout_width="match_parent" |
72 | | - android:layout_height="match_parent" |
| 68 | + android:layout_width="wrap_content" |
| 69 | + android:layout_height="wrap_content" |
73 | 70 | android:checked="true" |
74 | 71 | android:enabled="false" |
75 | | - android:text="@string/cat_checkbox_disabled" /> |
| 72 | + android:text="@string/cat_checkbox_disabled" |
| 73 | + android:layout_marginBottom="@dimen/cat_checkbox_padding"/> |
76 | 74 |
|
77 | 75 | <CheckBox |
78 | | - android:layout_width="match_parent" |
79 | | - android:layout_height="match_parent" |
| 76 | + android:layout_width="wrap_content" |
| 77 | + android:layout_height="wrap_content" |
80 | 78 | android:checked="false" |
81 | 79 | android:enabled="false" |
82 | | - android:text="@string/cat_checkbox_disabled" /> |
| 80 | + android:text="@string/cat_checkbox_disabled" |
| 81 | + android:layout_marginBottom="@dimen/cat_checkbox_padding"/> |
83 | 82 |
|
84 | 83 | <CheckBox |
85 | | - android:layout_width="match_parent" |
86 | | - android:layout_height="match_parent" |
| 84 | + android:layout_width="wrap_content" |
| 85 | + android:layout_height="wrap_content" |
87 | 86 | app:checkedState="indeterminate" |
88 | 87 | android:enabled="false" |
89 | | - android:text="@string/cat_checkbox_disabled" /> |
90 | | - </GridLayout> |
| 88 | + android:text="@string/cat_checkbox_disabled" |
| 89 | + android:layout_marginBottom="@dimen/cat_checkbox_padding"/> |
91 | 90 |
|
92 | 91 | <com.google.android.material.divider.MaterialDivider |
93 | 92 | android:layout_width="match_parent" |
|
0 commit comments