lundi 5 juillet 2021

Kotlin - set the text below the Checkbox

I couldn´t find this simple task: is there a way to change the position of the text associated with a checkbox?

In the sample below, I want the String "test" to be set below the checkbox rather than the right side. Thank you for helping a novice.

<CheckBox
                android:id="@+id/checkBox"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:buttonTint="@color/white"
                android:text="test"
                android:textColor="@color/white"/>



Aucun commentaire:

Enregistrer un commentaire