Skip to content

CheckBox

ZieIony edited this page Apr 3, 2015 · 6 revisions

CheckBox

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

carbon_checkColor

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

Defaults to:

<style name="carbon_CheckBox" parent="android:Widget.CompoundButton.CheckBox">
    <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_checkColor">@null</item>
    <item name="android:background">@null</item>
</style>
Clone this wiki locally