I have a linear-layout (vertically-oriented) that contains two nested linear layouts inside of it.
- The first linear-layout has a background image that is applied dynamically based on the context o the particular activity. The image pretty much takes up the whole size of the screen
- The second linear-layout contains two checkboxes (horizontally-oriented) that should be displayed at the bottom of the activity.
My question is, how can I ensure that the second linear-layout displays at the bottom of the screen and just shows the minimal amount it needs to, allowing the first linear-layout to display as much as its background image as possible? Currently it’s being pushed off the screen by the first LL’s bg image.
Thank you.
Using Weight you can do what you want: