abouttreesummaryrefslogcommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJules Aguillon2022-11-05 10:13:35 +0100
committerJules Aguillon2022-11-05 10:13:35 +0100
commitd2328d4b9a33469f9adc3fcbe9fab9a28a7e1da8 (patch)
tree4e62fe31cf373f50889191d58812b04bbb1c4e98 /AndroidManifest.xml
parent7edfd81db1465923cd2c245dace40bd1d3280528 (diff)
downloadunexpected-keyboard-d2328d4b9a33469f9adc3fcbe9fab9a28a7e1da8.tar.gz
unexpected-keyboard-d2328d4b9a33469f9adc3fcbe9fab9a28a7e1da8.zip
Automatic day night theme in settings activity
There seems to be no "DayNight" theme compatible with older version of android outside of the androidx library. Using 'Theme.DeviceDefault' which is a dark theme, even if it doesn't sounds like. Detect if a light theme should be used at activity creation.
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4e29f0c..2489589 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -8,7 +8,7 @@
</intent-filter>
<meta-data android:name="android.view.im" android:resource="@xml/method"/>
</service>
- <activity android:name="juloo.keyboard2.SettingsActivity" android:icon="@drawable/ic_launcher" android:label="@string/settings_activity_label" android:theme="@style/android:Theme.Material">
+ <activity android:name="juloo.keyboard2.SettingsActivity" android:icon="@drawable/ic_launcher" android:label="@string/settings_activity_label" android:theme="@style/android:Theme.DeviceDefault">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>