i have a problem, i need to put 3 buttons in a android layout, but:
- they should all be in one row
- they should all be 33,3% width of the display width
i tryed some things with a table and stack layout but did not manage to get it to work with the width.
please help me
Use a LinearLayout as the root, then make give each button the attribute
android:layout_weight="1"– which will make them all equal weights, and take up the space.