mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-03 13:20:31 +00:00
Updated activity themes
This commit is contained in:
parent
27cd92c7fd
commit
015390c13d
5 changed files with 24 additions and 8 deletions
|
@ -104,7 +104,7 @@
|
|||
</activity>
|
||||
|
||||
<activity android:name=".settings.SettingsActivity"
|
||||
android:theme="@style/platformSettingsTheme"
|
||||
android:theme="@style/platformActivityTheme"
|
||||
android:label="@string/english_ime_settings"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
|
@ -113,7 +113,7 @@
|
|||
</activity>
|
||||
|
||||
<activity android:name=".spellcheck.SpellCheckerSettingsActivity"
|
||||
android:theme="@style/platformSettingsTheme"
|
||||
android:theme="@style/platformActivityTheme"
|
||||
android:label="@string/android_spell_checker_settings"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
|
|
9
app/src/main/res/values-night-v21/platform-themes.xml
Normal file
9
app/src/main/res/values-night-v21/platform-themes.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="platformActivityTheme" parent="@android:style/Theme.Material">
|
||||
<item name="android:colorAccent">@color/highlight_color_lxx_dark</item>
|
||||
</style>
|
||||
<style name="platformDialogTheme" parent="@android:style/Theme.Material.Dialog">
|
||||
<item name="android:colorAccent">@color/highlight_color_lxx_dark</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -19,7 +19,10 @@
|
|||
-->
|
||||
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<style name="platformActivityTheme" parent="@android:style/Theme.DeviceDefault.Light" />
|
||||
<style name="platformSettingsTheme" parent="@android:style/Theme.DeviceDefault.Settings" />
|
||||
<style name="platformDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog" />
|
||||
<style name="platformActivityTheme" parent="@android:style/Theme.DeviceDefault.Light">
|
||||
<item name="android:colorAccent">@color/highlight_color_lxx_light</item>
|
||||
</style>
|
||||
<style name="platformDialogTheme" parent="@android:style/Theme.DeviceDefault.Light.Dialog">
|
||||
<item name="android:colorAccent">@color/highlight_color_lxx_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
5
app/src/main/res/values-v31/platform-themes.xml
Normal file
5
app/src/main/res/values-v31/platform-themes.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="platformActivityTheme" parent="@android:style/Theme.Material" />
|
||||
<style name="platformDialogTheme" parent="@android:style/Theme.Material.Dialog"/>
|
||||
</resources>
|
|
@ -19,7 +19,6 @@
|
|||
-->
|
||||
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<style name="platformActivityTheme" parent="@android:style/Theme.DeviceDefault" />
|
||||
<style name="platformSettingsTheme" parent="@android:style/Theme.DeviceDefault" />
|
||||
<style name="platformDialogTheme" parent="@android:style/Theme.DeviceDefault.Dialog" />
|
||||
<style name="platformActivityTheme" parent="@android:style/Theme.Holo" />
|
||||
<style name="platformDialogTheme" parent="@android:style/Theme.Holo.Dialog" />
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue