I need to programmatically set padding for the web content in my WebView.
I have the toolbar on the top of the screen and the webView below it.
I need to make toolbar to translate Up when the scroll is performed.
I made it work, but previously I had a margin_top for the webView’s container, and now I need to allow webView to go higher. But in the beginning, it should be placed below the toolbar.
So, the Question:
How to set the top padding for the web view programmatically?