I thought it would be quite easy, but found no solution for my problem: I only want to have two buttons, one above the other. Both with screen width, both with half screen height, so they fill the screen. I tried distinct RelativeLayout and GridView solutions, but everything went wrong.
Does anyone have a solution for me?
The key points are layout_weight and 0dp for height. Layout weight divides up remaining space between child controls and since each button is zero pixels, they are each given 50% of the available height – in this case, full screen if LinearLayout is the root.