I have an application that worked fine on below Android 5.0, but as of 5.0 the layout breaks by placing content behind the action bar and status bar. The problem is not specific to individual activities. (When I create a completely new Activity as seen in the image below the issue still occurs). Were there any obvious changes in 5.0 that could cause this?
v21/styles.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppBaseTheme" parent="android:Theme.DeviceDefault.Light.DarkActionBar">
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
</resources>
Aucun commentaire:
Enregistrer un commentaire