Skip to content

Commit 9d2307b

Browse files
committed
feat: v31 이상 themes.xml 추가
1 parent 6dba12a commit 9d2307b

File tree

5 files changed

+22
-31
lines changed

5 files changed

+22
-31
lines changed

presentation/src/main/AndroidManifest.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,18 @@
2727
tools:node="remove" />
2828

2929
<activity
30-
android:name=".SplashActivity"
31-
android:theme="@style/Theme.Splash"
30+
android:name=".MainActivity"
3231
android:exported="true">
3332

3433
<intent-filter>
3534
<action android:name="android.intent.action.MAIN" />
3635

3736
<category android:name="android.intent.category.LAUNCHER" />
3837
</intent-filter>
39-
</activity>
4038

41-
<activity
42-
android:name=".MainActivity"
43-
android:exported="false">
39+
<meta-data
40+
android:name="android.app.lib_name"
41+
android:value="" />
4442
</activity>
4543
</application>
4644
</manifest>

presentation/src/main/java/com/stop/SplashActivity.kt

Lines changed: 0 additions & 11 deletions
This file was deleted.

presentation/src/main/res/layout/activity_splash.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<resources>
2+
<style name="Theme.PlzStop" parent="Theme.Material3.Light.NoActionBar">
3+
<item name="colorPrimary">@color/purple_500</item>
4+
<item name="colorPrimaryVariant">@color/purple_700</item>
5+
<item name="colorOnPrimary">@color/white</item>
6+
7+
<item name="colorSecondary">@color/teal_200</item>
8+
<item name="colorSecondaryVariant">@color/teal_700</item>
9+
<item name="colorOnSecondary">@color/black</item>
10+
11+
<item name="android:windowLightStatusBar">true</item>
12+
<item name="android:windowBackground">@color/main_dark_grey</item>
13+
<item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_place_marker</item>
14+
</style>
15+
</resources>
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
<resources xmlns:tools="http://schemas.android.com/tools">
2-
<!-- Base application theme. -->
1+
<resources>
32
<style name="Theme.PlzStop" parent="Theme.Material3.Light.NoActionBar">
4-
<!-- Primary brand color. -->
53
<item name="colorPrimary">@color/purple_500</item>
64
<item name="colorPrimaryVariant">@color/purple_700</item>
75
<item name="colorOnPrimary">@color/white</item>
8-
<!-- Secondary brand color. -->
6+
97
<item name="colorSecondary">@color/teal_200</item>
108
<item name="colorSecondaryVariant">@color/teal_700</item>
119
<item name="colorOnSecondary">@color/black</item>
12-
<!-- Status bar color. -->
10+
1311
<item name="android:windowLightStatusBar">true</item>
14-
<!-- Customize your theme here. -->
1512
</style>
1613
</resources>

0 commit comments

Comments
 (0)