I have a simple aim. I want a light grey background on my FrameLayout with a black dividing line underneath it (only undernearth, not all around). So far I have this:
<
Unfortunately I have not found a way to get the gravity working for drawables, but I found how you can achieve what you want with pure xml:
Good luck:)