app/src/main/res/values/styles.xml
author Da Risk <da_risk@geekorum.com>
Thu, 09 May 2019 17:53:48 -0700
changeset 137 5464f07a306c
parent 119 ca2d02616860
child 241 7db39d5aebb8
permissions -rw-r--r--
Update copyright headers for 2019

<!--

    Geekttrss is a RSS feed reader application on the Android Platform.

    Copyright (C) 2017-2019 by Frederic-Charles Barthelery.

    This file is part of Geekttrss.

    Geekttrss is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Geekttrss is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Geekttrss.  If not, see <http://www.gnu.org/licenses/>.

-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar">
        <!-- use the material Blue Grey palette -->
        <item name="colorPrimary">@color/primary</item>
        <item name="colorPrimaryDark">@color/primary_dark</item>
        <item name="colorPrimaryVariant">@color/primary_dark</item>
        <item name="colorSecondary">@color/secondary</item>
        <item name="colorSecondaryVariant">@color/secondary_dark</item>
        <item name="colorOnSecondary">@android:color/white</item>
        <!-- used to configure style on the content webview -->
        <item name="articleBackground">?android:colorBackground</item>
        <!-- must be a color, not a drawable -->
        <item name="articleTextColor">@color/article_text_color</item>
        <item name="linkColor">?android:textColorLink</item>
        <item name="bottomAppBarStyle">@style/BottomAppBarStyle</item>
    </style>

    <style name="AppTheme.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
    </style>

    <style name="ThemeOverlay.AppTheme.DayNight" parent="@style/ThemeOverlay.MaterialComponents.Light"/>
    <style name="ThemeOverlay.AppTheme.DayNight.Inverse" parent="@style/ThemeOverlay.MaterialComponents.Dark" />

    <style name="AppTheme.ArticleListActivity" parent="AppTheme.NoActionBar">
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:navigationBarColor">?android:windowBackground</item>
    </style>

    <style name="AppTheme.ArticleDetailActivity" parent="AppTheme.NoActionBar">
        <item name="android:navigationBarColor">?android:windowBackground</item>
    </style>

    <style name="AppTheme.AddFeedActivity" parent="@style/Theme.Geekdroid.Light.BottomSheetDialogActivity">
        <!-- use the material Blue Grey palette -->
        <item name="colorPrimary">@color/primary</item>
        <item name="colorPrimaryDark">@color/material_blue_grey_700</item>
        <item name="colorAccent">@color/material_green_a700</item>
    </style>

    <style name="ThemeOverlay.AppTheme.AddFeedActivity.AccountsPanel" parent="ThemeOverlay.AppTheme.DayNight">
        <item name="android:colorBackground">@color/material_blue_grey_200</item>
    </style>

    <style name="ThemeOverlay.AppTheme.TranslucentButton" parent="ThemeOverlay.AppTheme.DayNight">
        <item name="colorButtonNormal">@android:color/transparent</item>
    </style>

    <style name="LoginForm.TextInputStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox">
        <item name="errorEnabled">true</item>
    </style>

    <style name="ThemeOverlay.AppTheme.LoginForm" parent="ThemeOverlay.AppTheme.DayNight">
        <item name="textInputStyle">@style/LoginForm.TextInputStyle</item>
    </style>

    <style name="BottomAppBarStyle" parent="Widget.MaterialComponents.BottomAppBar">
        <item name="fabCradleMargin">8dp</item>
        <item name="fabCradleRoundedCornerRadius">32dp</item>
    </style>

    <style name="HeadlineCardFooterButton">
        <item name="android:layout_width">48dp</item>
        <item name="android:layout_height">48dp</item>
        <item name="android:clickable">true</item>
        <item name="android:focusable">true</item>
        <item name="android:padding">12dp</item>
    </style>

</resources>