summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/values/tv_styles.xml
blob: 0faa6184beae7444bd759abd71604c29a223e953 (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
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="TvTheme" parent="Theme.MaterialComponents.NoActionBar">
        <item name="colorPrimary">@color/tv_primary_color</item>
        <item name="colorOnPrimary">#fffafafa</item>
        <item name="colorPrimaryDark">@color/tv_primary_color</item>
        <item name="colorPrimaryVariant">#ff484848</item>
        <item name="colorSecondary">#ff4285f4</item>
        <item name="colorOnSecondary">#ff0059c1</item>
        <item name="colorSurface">@color/tv_primary_color</item>
        <item name="colorOnSurface">#fffafafa</item>
        <item name="colorMultiselectActiveBackground">@color/tv_list_multiselect_background</item>
        <item name="colorControlNormal">#fffafafa</item>
        <item name="elevationOverlayEnabled">false</item>
        <item name="android:statusBarColor">@color/tv_primary_color</item>
        <item name="android:windowBackground">@color/tv_primary_color</item>
        <item name="alertDialogTheme">@style/TvTheme.Dialog</item>
        <item name="materialAlertDialogTheme">@style/TvTheme.Dialog</item>
        <item name="textInputStyle">@style/TextInputLayoutBase</item>
        <item name="materialCardViewStyle">@style/TvTheme.MaterialCardView</item>
    </style>

    <style name="TextInputLayoutBase" parent="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
        <item name="boxStrokeColor">?attr/colorSecondary</item>
        <item name="hintTextColor">?attr/colorOnPrimary</item>
    </style>

    <style name="TvTheme.Dialog" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
        <item name="android:windowBackground">?attr/colorSurface</item>
    </style>

    <style name="TvTheme.MaterialCardView" parent="Widget.MaterialComponents.CardView">
        <item name="cornerRadius">4dp</item>
        <item name="cardElevation">8dp</item>
        <item name="contentPadding">8dp</item>
        <item name="cardBackgroundColor">?attr/elevationOverlayColor</item>
    </style>
</resources>