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

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

    I found that:

     android:gravity="fill"
    

    works better than "top". Top wouldn't look right if the checkbox may also end up as only one line.

提交回复
热议问题