Skip to content

Commit

Permalink
Android 15 improvements (#1146)
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 authored Oct 27, 2024
1 parent 0665d40 commit 2c27430
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
12 changes: 12 additions & 0 deletions vtm-android-example/res/values-v35/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="AppThemeDark" parent="AppThemeDarkBase">
<item name="android:fitsSystemWindows">true</item>
</style>

<style name="AppThemeLight" parent="AppThemeLightBase">
<item name="android:fitsSystemWindows">true</item>
</style>

</resources>
14 changes: 7 additions & 7 deletions vtm-android-example/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<resources>

<style name="AppThemeDark" parent="android:Theme.Material">
<item name="android:fitsSystemWindows" tools:targetApi="VANILLA_ICE_CREAM">true</item>
</style>
<style name="AppThemeDarkBase" parent="android:Theme.Material" />

<style name="AppThemeLight" parent="android:Theme.Material.Light.DarkActionBar">
<item name="android:fitsSystemWindows" tools:targetApi="VANILLA_ICE_CREAM">true</item>
</style>
<style name="AppThemeDark" parent="AppThemeDarkBase" />

<style name="AppThemeLightBase" parent="android:Theme.Material.Light.DarkActionBar" />

<style name="AppThemeLight" parent="AppThemeLightBase" />

</resources>

0 comments on commit 2c27430

Please sign in to comment.