I’m designing a layout that has several buttons and I want the buttons to be all evenly spaced in the menu, and I’m trying to find a way to do this without using any numeric values. If the screen is rotated or the screen size differs I want it all to still be centered.
Here’s an example: https://i.stack.imgur.com/yY88p.jpg
Use a weighted LinearLayout. Check out the LinearLayout Tutorial for an example.