<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="Theme.LedGrab" parent="@style/Theme.Leanback">
        <item name="android:windowBackground">@color/bg_navy</item>
        <item name="android:colorBackground">@color/bg_navy</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:textColorPrimary">@color/text_primary</item>
        <item name="android:textColorSecondary">@color/text_secondary</item>
        <item name="android:textColorHint">@color/text_hint</item>
        <item name="android:colorAccent">@color/teal_accent</item>
        <item name="android:colorControlHighlight">@color/teal_accent_dim</item>
        <item name="android:colorControlActivated">@color/teal_accent</item>
    </style>

    <!-- Splash screen theme. Compatible across API levels via the
         androidx.core:core-splashscreen library. On API 31+ the system
         splash uses the foreground icon; on older versions the launch
         theme just paints the navy background, which is harmless. -->
    <style name="Theme.LedGrab.Splash" parent="Theme.SplashScreen">
        <item name="windowSplashScreenBackground">@color/bg_navy</item>
        <item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash</item>
        <item name="postSplashScreenTheme">@style/Theme.LedGrab</item>
    </style>

    <style name="Widget.LedGrab.Button.Primary" parent="@android:style/Widget.Button">
        <item name="android:background">@drawable/bg_button_primary</item>
        <item name="android:textColor">@color/bg_navy</item>
        <item name="android:textStyle">bold</item>
        <item name="android:focusable">true</item>
        <item name="android:stateListAnimator">@null</item>
    </style>

    <style name="Widget.LedGrab.Button.Secondary" parent="@android:style/Widget.Button">
        <item name="android:background">@drawable/bg_button_secondary</item>
        <item name="android:textColor">@color/btn_secondary_text</item>
        <item name="android:textStyle">bold</item>
        <item name="android:focusable">true</item>
        <item name="android:stateListAnimator">@null</item>
    </style>
</resources>
