Welcome to mirror list, hosted at ThFree Co, Russian Federation.

styles.xml « values « res « main « src « app - github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6a09ce60041fc0dc2a4ce20028162c559ae4ee22 (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
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="BaseTheme" parent="Theme.Material3.DayNight.NoActionBar">
        <item name="colorPrimary">@color/primary</item>
        <item name="colorAccent">@color/accent</item>
        <item name="android:actionModeBackground">?attr/colorPrimary</item>
        <item name="colorControlNormal">?attr/colorAccent</item>
        <item name="windowActionModeOverlay">true</item>
        <item name="actionModeStyle">@style/actionModeStyle</item>
        <item name="toolbarStyle">@style/toolbarStyle</item>
        <item name="android:statusBarColor">?attr/colorPrimary</item>
        <item name="android:windowLightStatusBar">@bool/isDayMode</item>
        <item name="android:textColorLink">?android:colorAccent</item>
        <item name="materialAlertDialogTheme">@style/MaterialAlertDialogTheme</item>
        <item name="tabStyle">@style/tabStyle</item>
    </style>

    <style name="AppTheme" parent="BaseTheme" />

    <style name="textViewStyle">
        <item name="colorAccent">@color/cursorHandles</item>
        <item name="android:textColorHighlight">@color/defaultTextHighlightBackground</item>
    </style>

    <style name="toolbarStyle" parent="@style/Widget.Material3.Toolbar">
        <item name="android:background">?attr/colorPrimary</item>
    </style>

    <style name="actionModeStyle" parent="@style/Widget.Material3.ActionMode">
        <item name="android:paddingStart">@dimen/spacer_activity_sides</item>
        <item name="android:paddingEnd">@dimen/spacer_activity_sides</item>
    </style>

    <style name="tabStyle" parent="Widget.Material3.TabLayout">
        <item name="backgroundColor">@android:color/transparent</item>
        <item name="itemBackground">@android:color/transparent</item>
        <item name="tabIndicatorColor">@android:color/transparent</item>
        <item name="tabTextColor">?attr/colorAccent</item>
        <item name="tabIconTint">?attr/colorAccent</item>
    </style>

    <style name="MaterialAlertDialogTheme" parent="ThemeOverlay.Material3.MaterialAlertDialog">
        <item name="buttonBarPositiveButtonStyle">@style/buttonStyle</item>
        <item name="buttonBarNegativeButtonStyle">@style/buttonStyle</item>
        <item name="buttonBarNeutralButtonStyle">@style/buttonStyle</item>
    </style>

    <style name="buttonStyle" parent="Widget.Material3.Button.TextButton.Dialog">
        <item name="android:textColor">?attr/colorAccent</item>
    </style>

    <style name="Theme.App.Starting" parent="Theme.SplashScreen">
        <item name="windowSplashScreenBackground">@color/defaultBrand</item>
        <item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
        <item name="postSplashScreenTheme">@style/AppTheme</item>
    </style>
</resources>