mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Don't draw under display cutouts in landscape mode (API >= 28).
This commit is contained in:
13
app/src/main/res/values-land-v28/styles.xml
Normal file
13
app/src/main/res/values-land-v28/styles.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="Theme.MaterialComponents.Light">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">never</item>
|
||||
<item name="android:navigationBarColor">@android:color/black</item>
|
||||
<item name="android:textColorPrimary">@android:color/white</item>
|
||||
</style>
|
||||
</resources>
|
Reference in New Issue
Block a user