# SushiCheckBox

A form component for selecting multiple options in a list. Based on AppCompatCheckBox

# Features

Supports all features of AppCompatCheckBox

Additional attributes -

Attribute Value
app:controlColor A @color uses to tint and shade enabled/checked state

# Usage

# Create in XML

<com.zomato.sushilib.molecules.inputfields.SushiCheckBox
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="Pepsi" />

<com.zomato.sushilib.molecules.inputfields.SushiCheckBox
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:text="Americano"
    app:controlColor="@color/sushi_yellow_500" />

# Functionality in Java/Kotlin

Apart from default functionality, you can change control color

checkBox.isChecked = true
checkBox.controlColor = Color.RED

# Examples

checkbox