-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththemes.xml
More file actions
59 lines (49 loc) · 2.52 KB
/
Copy paththemes.xml
File metadata and controls
59 lines (49 loc) · 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.Runnect" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/M1</item>
<item name="colorPrimaryVariant">@color/M2</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/M1</item>
<item name="colorSecondaryVariant">@color/M2</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:windowLightStatusBar">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:enforceStatusBarContrast">false</item>
<item name="android:enforceNavigationBarContrast">false</item>
<!-- Customize your theme here. -->
<item name="android:includeFontPadding">false</item>
<!-- BottomSheetDialog -->
<item name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
<!-- EditText -->
<item name="editTextStyle">@style/Widget.Runnect.EditText</item>
</style>
<style name="SplashTheme" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/M1</item>
<item name="postSplashScreenTheme">@style/Theme.Runnect</item>
</style>
<!-- 신고하기 BottomSheet 테마 -->
<style name="BottomSheetDialogTheme" parent="Theme.Design.BottomSheetDialog">
<item name="bottomSheetStyle">@style/BottomSheetStyle</item>
</style>
<style name="BottomSheetStyle" parent="Widget.Design.BottomSheet.Modal">
<item name="background">@android:color/transparent</item>
</style>
<!-- 코스 이름 기입 BottomSheet 테마-->
<style name="AppBottomSheetDialogTheme"
parent="Theme.Design.Light.BottomSheetDialog">
<item name="bottomSheetStyle">@style/AppModalStyle</item>
<item name="android:windowIsFloating">false</item>
<!-- 키보드 가려짐 방지-->
<item name="android:windowSoftInputMode">adjustResize</item>
</style>
<style name="AppModalStyle"
parent="Widget.Design.BottomSheet.Modal">
<item name="android:background">@drawable/top_radius_20_white</item>
</style>
</resources>