Linear Layout with two buttons side by side - android

后端 未结 3 1629
庸人自扰
庸人自扰 2021-02-13 07:36

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

                

        
3条回答
  •  逝去的感伤
    2021-02-13 07:59

    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.

提交回复
热议问题