I have one big layout, and one smaller layout inside of it.
How do I create a line border around the small layout?
This solution will only add the border, the body of the LinearLayout will be transparent.
First, Create this border drawable in the drawable folder, border.xml
border.xml
Then, in your LinearLayout View, add the border.xml as the background like this