Skip to content

Commit

Permalink
Merge pull request #6592 from kevlahnota/master2
Browse files Browse the repository at this point in the history
set navigation bar color
  • Loading branch information
kevlahnota authored Nov 18, 2024
2 parents a6f1b3a + a1d1e2b commit b9ac48e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions forge-gui-android/res/values-v35/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<style name="NormalTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">
<item name="android:windowNoTitle">true</item>
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
<item name="android:navigationBarColor">#131313</item>
</style>
</resources>
5 changes: 5 additions & 0 deletions forge-gui-android/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
</style>
<style name="NormalTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">
<item name="android:windowNoTitle">true</item>
<!-- windowOptOutEdgeToEdgeEnforcement -> Flag indicating whether this window would opt-out the
edge-to-edge enforcement. If this is false, the edge-to-edge enforcement will be applied to the window if it
belongs to an app targeting Android 15 and above. If this is true, the edge-to-edge enforcement
won't be applied. However, this attribute will be deprecated and disabled in a future SDK level. -->
<item name="android:windowOptOutEdgeToEdgeEnforcement">true</item>
<item name="android:navigationBarColor">#131313</item>
</style>
</resources>

0 comments on commit b9ac48e

Please sign in to comment.