-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.xml
103 lines (87 loc) · 4.23 KB
/
styles.xml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!--
~ Project: mybudget2-mobile-android
~ File: styles.xml
~
~ Created by fattazzo
~ Copyright © 2019 Gianluca Fattarsi. All rights reserved.
~
~ MIT License
~ Permission is hereby granted, free of charge, to any person obtaining a copy
~ of this software and associated documentation files (the "Software"), to deal
~ in the Software without restriction, including without limitation the rights
~ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
~ copies of the Software, and to permit persons to whom the Software is
~ furnished to do so, subject to the following conditions:
~
~ The above copyright notice and this permission notice shall be included in all
~ copies or substantial portions of the Software.
~
~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
~ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
~ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
~ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
~ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
~ SOFTWARE.
-->
<resources>
<!-- Base application theme. -->
<style name="AppTheme"
parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/primaryColor</item>
<item name="colorPrimaryDark">@color/primaryDarkColor</item>
<item name="colorAccent">@color/primaryLightColor</item>
<item name="android:textColor">@color/primaryTextColor</item>
<item name="android:textAppearance">@style/TextAppearance</item>
<item name="android:textAppearanceLarge">@style/TextAppearance.Large</item>
<item name="android:textAppearanceMedium">@style/TextAppearance.Medium</item>
<item name="android:textAppearanceSmall">@style/TextAppearance.Small</item>
<item name="fontFamily">@font/os_font_family</item>
<!-- define activities transition animations -->
<item name="android:windowAnimationStyle">@style/CustomActivityAnimation</item>
<!-- Material dialod -->
<item name="md_color_title">@color/primaryColor</item>
<item name="md_corner_radius">16dp</item>
</style>
<!-- Splash screen theme -->
<style name="AppTheme.Launcher">
<item name="android:windowBackground">@drawable/launcher_screen_with_logo</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" >
</style>
<!-- Text -->
<style name="TextAppearance"
parent="@android:style/TextAppearance"/>
<style name="TextAppearance.Big"
parent="@android:style/TextAppearance.Large">
<item name="android:textSize">@dimen/font_size_big</item>
</style>
<style name="TextAppearance.Large"
parent="@android:style/TextAppearance.Large">
<item name="android:textSize">@dimen/font_size_large</item>
</style>
<style name="TextAppearance.Medium"
parent="@android:style/TextAppearance.Medium">
<item name="android:textSize">@dimen/font_size_medium</item>
</style>
<style name="TextAppearance.Small"
parent="@android:style/TextAppearance.Small">
<item name="android:textSize">@dimen/font_size_small</item>
</style>
<!-- activity animation -->
<style name="CustomActivityAnimation"
parent="@android:style/Animation.Activity">
<item name="android:activityOpenEnterAnimation">@anim/slide_in_right</item>
<item name="android:activityOpenExitAnimation">@anim/slide_out_left</item>
<item name="android:activityCloseEnterAnimation">@anim/slide_in_left</item>
<item name="android:activityCloseExitAnimation">@anim/slide_out_right</item>
</style>
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
</resources>