I have one big layout, and one smaller layout inside of it.
How do I create a line border around the small layout?
Try this:
For example, let's define res/drawable/my_custom_background.xml as:
(create this layout in your drawable folder) layout_border.xml
main.xml