I would like to know if, with RelativeLayout, you can position 2 or three buttons side by side and their width is evenly set across the view. e.g. If the screen is 300 pixels the buttons will automatically adopt 100 pixels width each (assuming no padding etc).
I can’t really provide code… Because I don’t know how to do it =0)
I would put a linear layout inside your relative layout (assuming you need the relativelayout for something else) with orientation horizontal and give each button equal weight.