|
18 | 18 |
|
19 | 19 | <LinearLayout |
20 | 20 | xmlns:android="http://schemas.android.com/apk/res/android" |
21 | | - xmlns:app="http://schemas.android.com/apk/res-auto" |
22 | 21 | android:id="@+id/main_viewGroup" |
23 | 22 | android:layout_width="match_parent" |
24 | 23 | android:layout_height="wrap_content" |
|
33 | 32 | android:layout_width="match_parent" |
34 | 33 | android:layout_height="match_parent" |
35 | 34 | android:layout_columnSpan="2" |
36 | | - android:text="@string/cat_checkbox_color_guide" |
37 | | - android:textSize="@dimen/cat_checkbox_header_size"/> |
| 35 | + android:text="@string/cat_checkbox_intro" /> |
38 | 36 | <CheckBox |
39 | 37 | android:layout_width="match_parent" |
40 | 38 | android:layout_height="match_parent" |
|
51 | 49 | android:layout_width="match_parent" |
52 | 50 | android:layout_height="match_parent" |
53 | 51 | android:layout_columnSpan="2" |
54 | | - android:text="@string/cat_checkbox_disabled_guide" |
55 | | - android:textSize="@dimen/cat_checkbox_header_size"/> |
| 52 | + android:text="@string/cat_checkbox_disabled_guide" /> |
56 | 53 | <CheckBox |
57 | 54 | android:layout_width="match_parent" |
58 | 55 | android:layout_height="match_parent" |
|
66 | 63 | android:enabled="false" |
67 | 64 | android:text="@string/cat_checkbox_disabled"/> |
68 | 65 | </GridLayout> |
69 | | - <ImageView |
70 | | - android:layout_width="match_parent" |
71 | | - android:layout_height="@dimen/cat_checkbox_line_separator_thickness" |
72 | | - android:layout_marginTop="@dimen/cat_checkbox_line_separator_margin" |
73 | | - android:layout_marginBottom="@dimen/cat_checkbox_line_separator_margin" |
74 | | - android:background="?attr/colorSecondary"/> |
| 66 | + |
| 67 | + <com.google.android.material.divider.MaterialDivider |
| 68 | + android:layout_width="match_parent" |
| 69 | + android:layout_height="wrap_content" |
| 70 | + android:layout_marginTop="@dimen/cat_checkbox_line_separator_margin" |
| 71 | + android:layout_marginBottom="@dimen/cat_checkbox_line_separator_margin"/> |
| 72 | + |
75 | 73 | <CheckBox |
76 | 74 | android:id="@+id/checkbox_toggle" |
77 | 75 | android:layout_width="match_parent" |
78 | 76 | android:layout_height="match_parent" |
79 | 77 | android:checked="false" |
80 | 78 | android:enabled="true" |
81 | | - android:text="@string/cat_checkbox_enablable_description" |
82 | | - android:textSize="@dimen/cat_checkbox_header_size"/> |
| 79 | + android:text="@string/cat_checkbox_enablable_description"/> |
83 | 80 | <LinearLayout |
84 | 81 | android:id="@+id/checkbox_toggle_container" |
85 | 82 | android:layout_width="match_parent" |
|
99 | 96 | android:enabled="false" |
100 | 97 | android:text="@string/cat_checkbox_toggle"/> |
101 | 98 | </LinearLayout> |
102 | | - <ImageView |
| 99 | + |
| 100 | + <com.google.android.material.divider.MaterialDivider |
103 | 101 | android:layout_width="match_parent" |
104 | | - android:layout_height="@dimen/cat_checkbox_line_separator_thickness" |
| 102 | + android:layout_height="wrap_content" |
105 | 103 | android:layout_marginTop="@dimen/cat_checkbox_line_separator_margin" |
106 | | - android:layout_marginBottom="@dimen/cat_checkbox_line_separator_margin" |
107 | | - android:background="?attr/colorSecondary"/> |
| 104 | + android:layout_marginBottom="@dimen/cat_checkbox_line_separator_margin"/> |
| 105 | + |
108 | 106 | <TextView |
109 | 107 | android:layout_width="match_parent" |
110 | 108 | android:layout_height="wrap_content" |
111 | | - android:text="@string/cat_checkbox_no_text" |
112 | | - android:textSize="@dimen/cat_checkbox_header_size"/> |
| 109 | + android:text="@string/cat_checkbox_no_text"/> |
113 | 110 | <CheckBox |
114 | 111 | android:layout_width="wrap_content" |
115 | 112 | android:layout_height="wrap_content"/> |
| 113 | + |
| 114 | + <com.google.android.material.divider.MaterialDivider |
| 115 | + android:layout_width="match_parent" |
| 116 | + android:layout_height="wrap_content" |
| 117 | + android:layout_marginTop="@dimen/cat_checkbox_line_separator_margin" |
| 118 | + android:layout_marginBottom="@dimen/cat_checkbox_line_separator_margin"/> |
| 119 | + |
| 120 | + <CheckBox |
| 121 | + android:id="@+id/checkbox_toggle_error" |
| 122 | + android:layout_width="match_parent" |
| 123 | + android:layout_height="match_parent" |
| 124 | + android:text="@string/cat_checkbox_toggle_error"/> |
116 | 125 | </LinearLayout> |
0 commit comments