@@ -13,7 +13,7 @@ path: /catalog/switches/
1313allow the user to select options.
1414
1515Switches toggle the state of a single setting on or off. They are the preferred
16- way to adjust settings on mobile.
16+ way to adjust settings on mobile devices .
1717
1818![ White "Settings" menu with purple header and switches to turn on options, such
1919as "Wi-fi" and "Bluetooth"] ( assets/switch/switch_hero.png )
@@ -115,7 +115,7 @@ track:
115115![ Switch anatomy diagram] ( assets/switch/switch_anatomy.png )
116116
1171171 . Thumb
118- 1 . Track
118+ 2 . Track
119119
120120### Switch attributes
121121
189189## Theming switches
190190
191191Switches support
192- [ Material Theming] ( https://material.io/components/selection-controls#theming )
193- and can be customized in terms of color and typography.
192+ [ Material Theming] ( https://material.io/components/selection-controls#theming ) ,
193+ which can customize color and typography.
194194
195195### Switch theming example
196196
@@ -206,8 +206,8 @@ The following example shows a list of switches with Material Theming.
206206
207207#### Implementing switch theming
208208
209- Using theme attributes in ` res/values/styles.xml ` (themes all switches and
210- affects other components) :
209+ Use theme attributes in ` res/values/styles.xml ` , which applies to all switches
210+ and affects other components:
211211
212212``` xml
213213<style name =" Theme.App" parent =" Theme.Material3.*" >
@@ -218,8 +218,8 @@ affects other components):
218218
219219```
220220
221- or using default style theme attributes, styles and theme overlays (themes all
222- switches but does not affect other components) :
221+ Use default style theme attributes, styles and theme overlays, which apply to
222+ all switches but do not affect other components:
223223
224224``` xml
225225<style name =" Theme.App" parent =" Theme.Material3.*" >
@@ -237,7 +237,7 @@ switches but does not affect other components):
237237</style >
238238```
239239
240- or using the styles in the layout ( affects only this switch) :
240+ Use the styles in the layout, which affects only this switch:
241241
242242``` xml
243243<com .google.android.material.switchmaterial.SwitchMaterial
0 commit comments