i have to develop one app.here i have to use checkbox.here i have to select checkbox means the default background color is yellow.but i wish to change the background color using gradient for checked and unchecked condition.how can i change this.please help me.
this is my current code:
<CheckBox
android:id="@+id/rempasswordcheckbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/passwordview"
android:layout_y="200dp"
android:paddingLeft="45dp"
android:text="Remember Password!"
android:textColor="#1d2328" />
android:buttonTint="@color/mybrown"
is an easy way to change the checkbox color. – Gerita