lundi 24 août 2020

Android Kotlin Can we put combination of text and image icon to the checkbox?

Made toppings checkboxes with only text, wonder can I add a small image to it.

<CheckBox
        android:id="@+id/checkWhippedCream"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="16dp"
        android:paddingStart="24dp"
        android:paddingEnd="24dp"
        android:text="@string/whipped_cream"
        android:textSize="16sp" />



Aucun commentaire:

Enregistrer un commentaire