mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00:00
Merge pull request #11071 from hrydgard/android-navbar-black
Android: In v21 and later, make the navigation bar black using styles.xml
This commit is contained in:
commit
d897d58727
@ -47,7 +47,7 @@
|
||||
android:name=".PpssppActivity"
|
||||
android:configChanges="locale|keyboard|keyboardHidden|navigation|uiMode"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
|
||||
android:theme="@style/ppsspp_style">
|
||||
|
||||
<!-- android:screenOrientation="landscape" -->
|
||||
<intent-filter>
|
||||
|
9
android/res/values-v21/styles.xml
Normal file
9
android/res/values-v21/styles.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="black">#FF000000</color>
|
||||
<style name="ppsspp_style">
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:navigationBarColor">@color/black</item>
|
||||
</style>
|
||||
</resources>
|
8
android/res/values/styles.xml
Normal file
8
android/res/values/styles.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="black">#FF000000</color>
|
||||
<style name="ppsspp_style">
|
||||
<item name="android:windowFullscreen">true</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user