Remove Holo theme remainees from the app

This commit is contained in:
Ebrahim Byagowi 2019-04-22 01:46:24 +04:30 committed by Peter Osterlund
parent 0ea27cbfbd
commit 0144b0b02d
2 changed files with 14 additions and 2 deletions

View File

@ -10,13 +10,13 @@
<application android:name="org.petero.droidfish.DroidFishApp" <application android:name="org.petero.droidfish.DroidFishApp"
android:icon="@mipmap/icon" android:icon="@mipmap/icon"
android:theme="@android:style/Theme.Holo" android:theme="@style/AppTheme"
android:label="@string/app_name" android:label="@string/app_name"
android:allowBackup="true" android:allowBackup="true"
android:resizeableActivity="true"> android:resizeableActivity="true">
<activity android:name=".DroidFish" <activity android:name=".DroidFish"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@android:style/Theme.Holo.NoActionBar" android:theme="@style/MainActivityTheme"
android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize"> android:configChanges="orientation|screenSize|keyboardHidden|screenLayout|smallestScreenSize">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="Theme.AppCompat">
<item name="colorPrimary">#000000</item>
<item name="colorPrimaryDark">#000000</item>
</style>
<style name="MainActivityTheme" parent="Theme.AppCompat.NoActionBar">
<item name="colorPrimary">#000000</item>
<item name="colorPrimaryDark">#000000</item>
</style>
</resources>