I've decided to use 2 RelativeLayouts
for my app, one Layout
for one portion of child Views
on the screen to the left, the other for child Views
to go to the right.
The problem is I don't know how to lay them out in XML so that the middle white space isn't included when I inflate my Layout
.
When I use 1 RelativeLayout
, the middle white space is filled with the RelativeLayout
, and I can't touch anything behind it.
Thank you very much for reading.
Do something similar to the following example.
This will create a
LinearLayout
with 2RelativeLayouts
usinglayout_weight
to space theRelativeLayouts
and then you can populate theRelativeLayouts
with whatever you want.The
Buttons
are just place holders for the example.