Material Radio Button
A class that creates a Material Themed RadioButton.
This class uses attributes from the Material Theme to style a RadioButton. Excepting color changes, it behaves identically to AppCompatRadioButton. Your theme's
?attr/colorControlActivated
, ?attr/colorSurface
, and ?attr/colorOnSurface
must be set.
For more information, see the component developer guidance and design guidelines.
Functions
Link copied to clipboard
Returns true if this MaterialRadioButton defaults to colors from a Material Theme.
Link copied to clipboard
Forces the MaterialRadioButton to use colors from a Material Theme.