summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Yu <jackyu@google.com>2019-10-22 00:16:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-10-22 00:16:00 +0000
commitaf572427ca4dafba3a4374aff24ad0431c35d3ca (patch)
tree155e61d98cc1930d2f2d213173c9b57e35d4c635
parent469c06d20896164844bb7f4d125cf67e9b1dfbc8 (diff)
parent4bf12f86994ea9136b9966925e8ed5d22f6940dc (diff)
downloadStk-af572427ca4dafba3a4374aff24ad0431c35d3ca.tar.gz
Merge "Apply DayNight theme to SIM Toolkit for Dark theme support"
-rw-r--r--AndroidManifest.xml6
-rw-r--r--[-rwxr-xr-x]res/values/styles.xml2
2 files changed, 4 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 3ab0e05..e4c3e69 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -52,7 +52,7 @@
</activity>
<activity android:name="StkLauncherActivity"
- android:theme="@android:style/Theme.Material.Light"
+ android:theme="@android:style/Theme.DeviceDefault.DayNight"
android:label="@string/app_name"
android:exported="false"
android:taskAffinity="android.task.stk.StkLauncherActivity">
@@ -64,7 +64,7 @@
</activity>
<activity android:name="StkMenuActivity"
- android:theme="@android:style/Theme.Material.Light"
+ android:theme="@android:style/Theme.DeviceDefault.DayNight"
android:icon="@drawable/ic_launcher_sim_toolkit"
android:label="@string/app_name"
android:configChanges="orientation|locale|screenSize|keyboardHidden|mnc|mcc"
@@ -80,7 +80,7 @@
<activity android:name="StkInputActivity"
android:label="@string/app_name"
android:icon="@drawable/ic_launcher_sim_toolkit"
- android:theme="@android:style/Theme.Material.Light"
+ android:theme="@android:style/Theme.DeviceDefault.DayNight"
android:configChanges="orientation|locale|screenSize|keyboardHidden"
android:exported="false"
android:taskAffinity="android.task.stk.StkLauncherActivity">
diff --git a/res/values/styles.xml b/res/values/styles.xml
index a786fdc..7d43798 100755..100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -15,7 +15,7 @@
-->
<resources>
- <style name="Transparent" parent="@android:style/Theme.Material.Light">
+ <style name="Transparent" parent="@android:style/Theme.DeviceDefault.DayNight">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>