|
38 | 38 | android:layout_height="wrap_content" |
39 | 39 | android:gravity="center_vertical"> |
40 | 40 |
|
41 | | - <androidx.appcompat.widget.SwitchCompat |
42 | | - android:id="@+id/switch_button_1" |
43 | | - android:layout_width="wrap_content" |
44 | | - android:layout_height="wrap_content" /> |
45 | | - |
46 | 41 | <com.google.android.material.slider.Slider |
47 | 42 | android:id="@+id/slider_1" |
48 | 43 | android:layout_width="0dp" |
|
66 | 61 | android:layout_height="wrap_content" |
67 | 62 | android:gravity="center_vertical"> |
68 | 63 |
|
69 | | - <androidx.appcompat.widget.SwitchCompat |
70 | | - android:id="@+id/switch_button_2" |
71 | | - android:layout_width="wrap_content" |
72 | | - android:layout_height="wrap_content" /> |
73 | | - |
74 | 64 | <com.google.android.material.slider.Slider |
75 | 65 | android:id="@+id/slider_2" |
76 | 66 | android:layout_width="0dp" |
|
94 | 84 | android:layout_height="wrap_content" |
95 | 85 | android:gravity="center_vertical"> |
96 | 86 |
|
97 | | - <androidx.appcompat.widget.SwitchCompat |
98 | | - android:id="@+id/switch_button_3" |
99 | | - android:layout_width="wrap_content" |
100 | | - android:layout_height="wrap_content" /> |
101 | | - |
102 | 87 | <com.google.android.material.slider.Slider |
103 | 88 | android:id="@+id/slider_3" |
104 | 89 | android:layout_width="0dp" |
|
122 | 107 | android:layout_height="wrap_content" |
123 | 108 | android:gravity="center_vertical"> |
124 | 109 |
|
125 | | - <androidx.appcompat.widget.SwitchCompat |
126 | | - android:id="@+id/switch_button_4" |
127 | | - android:layout_width="wrap_content" |
128 | | - android:layout_height="wrap_content" /> |
129 | | - |
130 | 110 | <com.google.android.material.slider.Slider |
131 | 111 | android:id="@+id/slider_4" |
132 | 112 | android:layout_width="0dp" |
|
150 | 130 | android:layout_height="wrap_content" |
151 | 131 | android:gravity="center_vertical"> |
152 | 132 |
|
153 | | - <androidx.appcompat.widget.SwitchCompat |
154 | | - android:id="@+id/switch_button_5" |
155 | | - android:layout_width="wrap_content" |
156 | | - android:layout_height="wrap_content" /> |
157 | | - |
158 | 133 | <com.google.android.material.slider.Slider |
159 | 134 | android:id="@+id/slider_5" |
160 | 135 | android:layout_width="0dp" |
|
178 | 153 | android:layout_height="wrap_content" |
179 | 154 | android:gravity="center_vertical"> |
180 | 155 |
|
181 | | - <androidx.appcompat.widget.SwitchCompat |
182 | | - android:id="@+id/switch_button_6" |
183 | | - android:layout_width="wrap_content" |
184 | | - android:layout_height="wrap_content" /> |
185 | | - |
186 | 156 | <com.google.android.material.slider.Slider |
187 | 157 | android:id="@+id/slider_6" |
188 | 158 | android:layout_width="0dp" |
|
195 | 165 | android:stepSize="1" |
196 | 166 | app:tickVisible="false"/> |
197 | 167 | </LinearLayout> |
| 168 | + |
| 169 | + <com.google.android.material.switchmaterial.SwitchMaterial |
| 170 | + android:id="@+id/switch_button" |
| 171 | + android:layout_width="wrap_content" |
| 172 | + android:layout_height="wrap_content" |
| 173 | + android:layout_gravity="center_horizontal" |
| 174 | + android:checked="true" |
| 175 | + android:text="@string/cat_slider_enabled"/> |
198 | 176 | </LinearLayout> |
199 | 177 | </ScrollView> |
0 commit comments