Add margin between a RadioButton and its label in Android?

后端 未结 18 1504
春和景丽
春和景丽 2020-12-02 10:43

Is it possible to add a little bit of space between a RadioButton and the label while still using Android\'s built-in components? By default the text looks a little scrunche

18条回答
  •  半阙折子戏
    2020-12-02 11:20

    Add margin between a radiobutton its label by paddingLeft:

    android:paddingLeft="10dip"
    

    Just set your custom padding.

    RadioButton's xml property.

    
    

    Done

提交回复
热议问题