Linear Layout with two buttons side by side - android

后端 未结 3 1137
温柔的废话
温柔的废话 2021-02-13 07:30

I have 3 buttons the layout.xml below where they appear below of each other...

                

        
3条回答
  •  情歌与酒
    2021-02-13 08:05

    Change the Linear Layout orientation Vertical into Horizontal.And then Give weight for your both buttons as 1 or 2.As your wish.the buttons will be arranged equally.

提交回复
热议问题