Skip to content

Commit 8e9a1bd

Browse files
Merge pull request #1332 from alexbakker/fix-1330
Use DayNight as the default theme
2 parents f44fe38 + 0d34f07 commit 8e9a1bd

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
android:icon="@mipmap/${iconName}"
2828
android:label="Aegis"
2929
android:supportsRtl="true"
30+
android:theme="@style/Theme.Aegis.Launch"
3031
tools:targetApi="tiramisu">
3132
<activity android:name=".ui.TransferEntriesActivity"
3233
android:label="@string/title_activity_transfer" />

app/src/main/res/values/themes.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
<resources>
2+
<style name="Theme.Aegis.Launch" parent="Theme.Material3.DayNight.NoActionBar">
3+
<!-- colorPrimary in the root theme sets the task description color (seen in task switcher) -->
4+
<item name="colorPrimary">@color/md_theme_light_primary</item>
5+
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
6+
<item name="android:statusBarColor">@android:color/transparent</item>
7+
</style>
8+
29
<style name="Base.Theme.Aegis.Light" parent="Theme.Material3.Light">
310
<!-- Material colors -->
411
<item name="colorPrimary">@color/md_theme_light_primary</item>

0 commit comments

Comments
 (0)