My layout file defines a WebView, underneath which there are some fixed height buttons.
Using padding is NOT workaround here. padding for layout is there for that purpose.
So your 'workaround' is what you should have done.