Use
android:layout_weight="1"
on both Button
s. Set android:layout_width="0dp"
on both. Since both buttons now have equal weighting, they will now each have half the parent's width.
No comments:
Post a Comment