dan
dan

Reputation: 53

Android 2 bottom buttons side by side

How I can do this? I'm trying with Android studio but without success!

http://s29.postimg.org/tv607t9tz/asd.png

Upvotes: 2

Views: 655

Answers (1)

Blackbelt
Blackbelt

Reputation: 157447

you can use a LinearLayout with horizontal orienation, that contains the two buttons. The LinearLayout width is match_parent. The width of the two buttons is 0dp and assign both weight 1

Upvotes: 2

Related Questions