How to Achieve Full Screen

I have tried my app in Both Android mobiles which have no Physical Navigation Buttons in bottom (1) and which have these one in bottom(2). In First case some content under go the Bottom navigation and if I increase margins then I got high margins in second case which gives weird look. Any solution? Sorry for my bad English

I got same problem when creating this app.

Finally i am just make margins bigger (bottom navbar hide my buttons). But some devices have this option - for selected apps (Android). Something like

Settings -> Display -> Home touch buttons -> Hide home touch buttons -> Select apps

Some versions of Android also simply do not allow for the bottom bar to be hidden at all, so your mileage may vary.