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

前端 未结 4 696
闹比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:15

    android:gravity="top" will fix the problem:

    
    

    Note that android:gravity is different than android:layout_gravity.

提交回复
热议问题