As you can see my "Got It" button is behind the navigation bar.Not able to fix it!!! I have tried
<item name="android:fitsSystemWindows">true</item>
As well as setting it in layout file.
my theme in value-21 is :
<style name="AppTheme" parent="android:Theme.Material.Light.NoActionBar">
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:fitsSystemWindows">true</item>
</style>
Its the same case with all the screens throughout the application.
Please Help.