Align text left, checkbox right

前端 未结 13 2275
孤街浪徒
孤街浪徒 2020-12-29 18:28

I\'m trying to create a layout for a ListView, with a checkbox to the right and some text to the left. The checkbox should be aligned all the way to the right and the TextV

13条回答
  •  囚心锁ツ
    2020-12-29 18:49

    Just set the switch: Layout Parameters -> Width to "match_parent"

    originally it's "wrap_content"

提交回复
热议问题