mercredi 28 décembre 2016

How to change the text size of a checkbox

I want to change the text size of a checkbox in a fragment. The text size itself became bigger, but the little field of the checkbox is now a little bit higher than the text. I hope someone can help me with this. Thanks

This is my code for the CheckBox:

<CheckBox
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textSize="30dp"
        android:text="Text"
        android:paddingTop="@dimen/my_padding"
        android:id="@+id/text" />




Aucun commentaire:

Enregistrer un commentaire