How to align CheckBox to the top of its description in Android

前端 未结 4 698
闹比i
闹比i 2021-02-07 02:46

I would like to align CheckBox \"symbol\" to the top of its description.

What I have now:

What I want to have:

Current xml:



        
4条回答
  •  不要未来只要你来
    2021-02-07 03:03

    • use

      android:gravity="top" it will pin the box on top

    • use

      padding_top="4dp" will adjust Text padding only (without changing box padding from top)

提交回复
热议问题