blob: 874d2e7515cb00dae80dbcda779e325e95f6caa5 (
plain)
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
|
<resources>
<style name="BaseTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar.Bridge">
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primary</item>
<item name="colorAccent">@color/accent</item>
<item name="toolbarStyle">@style/toolbarStyle</item>
<item name="android:windowBackground">?attr/colorPrimary</item>
<item name="textAppearanceHeadline1">@style/Deck.TextAppearance.Headline1</item>
<item name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
</style>
<style name="AppBottomSheetDialogTheme" parent="Theme.MaterialComponents.DayNight.BottomSheetDialog">
<item name="bottomSheetStyle">@style/AppModalStyle</item>
</style>
<style name="AppModalStyle" parent="Widget.Design.BottomSheet.Modal">
<item name="android:background">@drawable/bottom_sheet_rounded</item>
</style>
<style name="toolbarStyle" parent="@style/Widget.AppCompat.Toolbar">
<item name="android:background">?attr/colorPrimary</item>
</style>
<!-- Default is a light theme with the dark blue brand -->
<style name="AppTheme" parent="BaseTheme" />
<style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@drawable/splash_screen</item>
<item name="colorPrimaryDark">@color/defaultBrand</item>
</style>
<style name="NavigationView">
<!-- https://github.com/stefan-niedermann/nextcloud-deck/issues/444 -->
<item name="android:ellipsize">end</item>
<item name="android:listDivider">@null</item>
</style>
<style name="TransparentTheme" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/background_dark</item>
<item name="android:colorBackgroundCacheHint">@null</item>
<item name="android:windowIsTranslucent">true</item>
</style>
<style name="Deck.TextAppearance.Headline1" parent="TextAppearance.MaterialComponents.Headline1">
<item name="android:textSize">36sp</item>
</style>
</resources>
|