Android Question android 16 full screen app

tomi85

Member
Licensed User
Longtime User
I try to make a full screen app but it odnt work. I use in manifest :


CreateResource(values-v29, theme.xml,
<resources>
<style name="AppTheme" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>

<item name="android:windowEdgeToEdge">true</item>

<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
</resources>
)

but get the error

res\values-v29\theme.xml:6: error: style attribute 'android:attr/windowEdgeToEdge' not found.
 
Top