How to put two buttons on same line in Android

前端 未结 7 1618
傲寒
傲寒 2021-01-01 22:17

How can I place two buttons on the same line in my login layout on my Android application?

7条回答
  •  攒了一身酷
    2021-01-01 22:49

    I think you need to use RelativeLayout.You can do something like this:

    
    
    
        
    
        
    
    
    

    Also you can refert this as well. http://www.mkyong.com/android/android-relativelayout-example/

    Hope this will help you.

提交回复
热议问题