File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ tinted, set `app:useMaterialThemeColors` to `false`:
145145
146146``` xml
147147<RadioButton
148- ...
148+ ...
149149 app : useMaterialThemeColors =" false"
150- />
150+ />
151151```
152152
153153### Text label attributes
@@ -240,25 +240,25 @@ attribute:
240240
241241``` xml
242242<style name =" Widget.App.RadioButton" parent =" Widget.Material3.CompoundButton.RadioButton" >
243- <item name =" buttonTint" >@color/button_tint</item >
243+ <item name =" buttonTint" >@color/button_tint</item >
244244</style >
245245```
246246
247247and in ` color/button_tint.xml ` :
248248
249249``` xml
250250<selector xmlns : android =" http://schemas.android.com/apk/res/android" >
251- <item android : color =" @color/shrine_pink_900" android : state_checked =" true" />
252- <item android : alpha =" 0.38" android : color =" @color/shrine_pink_100" android : state_enabled =" false" />
253- <item android : color =" @color/shrine_pink_100" />
251+ <item android : color =" @color/shrine_pink_900" android : state_checked =" true" />
252+ <item android : alpha =" 0.38" android : color =" @color/shrine_pink_100" android : state_enabled =" false" />
253+ <item android : color =" @color/shrine_pink_100" />
254254</selector >
255255```
256256
257257You can use the styles in the layout, which affects only this radio button:
258258
259259``` xml
260260<RadioButton
261- ...
261+ ...
262262 style =" @style/Widget.App.RadioButton"
263- />
263+ />
264264```
You can’t perform that action at this time.
0 commit comments