Skip to content

RadioButton

ZieIony edited this page Apr 3, 2015 · 5 revisions

RadioButton

Extends android.widget.RadioButton. Features material check and uncheck animation. Can be checked immediately using setCheckedImmediate. Supports the following attributes:

carbon_radioColor

Attribute of type color|reference used to specify a color of the radio drawable. Can be either a color value or a color selector.

Defaults to:

<style name="carbon_RadioButton" parent="android:Widget.CompoundButton.RadioButton">
    <item name="android:paddingLeft">@dimen/carbon_padding</item>
    <item name="carbon_rippleColor">@null</item>
    <item name="android:textAppearance">?attr/carbon_textAppearance_body1</item>
    <item name="android:button">@null</item>
    <item name="android:drawablePadding">@dimen/carbon_paddingHalf</item>
    <item name="carbon_radioColor">@null</item>
    <item name="android:background">@null</item>
</style>
Clone this wiki locally