LinearLayout içine weightSum=2 verip, içindeki iki tane butona da layout_weight=1 verirsen o satırdaki butonları otomatik olarak ayarlar.