@@ -140,7 +140,7 @@ Element | Attribute | Relate
140140
141141The color of the radio button defaults to ` ?attr/colorOnSurface ` (unchecked) and
142142` ?attr/colorPrimary ` (checked) defined in your app theme. If you want to
143- override this behavior, as you might with a custom drawable that should not be
143+ override this behavior, you could use a custom drawable that should not be
144144tinted, set ` app:useMaterialThemeColors ` to ` false ` :
145145
146146``` xml
184184
185185Radio buttons support
186186[ Material Theming] ( https://material.io/components/selection-controls#theming )
187- and can be customized in terms of color and typography.
187+ which can customize color and typography.
188188
189189### Radio button theming example
190190
@@ -204,8 +204,8 @@ button"](assets/radiobutton/radiobutton_theming.png)
204204
205205#### Implementing radio button theming
206206
207- Using theme attributes in ` res/values/styles.xml ` (themes all radio buttons and
208- affects other components) :
207+ Use theme attributes in ` res/values/styles.xml ` which applies to all radio
208+ buttons and affects other components:
209209
210210``` xml
211211<style name =" Theme.App" parent =" Theme.Material3.*" >
@@ -216,8 +216,8 @@ affects other components):
216216
217217```
218218
219- or using default style theme attributes, styles and theme overlays (themes all
220- radio buttons but does not affect other components) :
219+ Use default style theme attributes, styles and theme overlays which apply to all
220+ radio buttons but do not affect other components:
221221
222222``` xml
223223<style name =" Theme.App" parent =" Theme.Material3.*" >
@@ -235,7 +235,7 @@ radio buttons but does not affect other components):
235235</style >
236236```
237237
238- you can also change the radio button colors via the ` ?attr/buttonTint `
238+ You can also change the radio button colors via the ` ?attr/buttonTint `
239239attribute:
240240
241241``` xml
@@ -254,7 +254,7 @@ and in `color/button_tint.xml`:
254254</selector >
255255```
256256
257- or using the styles in the layout ( affects only this radio button) :
257+ You can use the styles in the layout, which affects only this radio button:
258258
259259``` xml
260260<RadioButton
0 commit comments