<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
  ~
  ~ This file is part of Loop Habit Tracker.
  ~
  ~ Loop Habit Tracker 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.
  ~
  ~ Loop Habit Tracker 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 this program. If not, see <http://www.gnu.org/licenses/>.
  -->

<resources>

    <style name="habitsListStyle">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:divider">@color/windowBackground</item>
        <item name="android:dividerHeight">1dp</item>
        <item name="android:paddingTop">42dp</item>
        <item name="android:background">@color/windowBackground</item>
    </style>


    <style name="habitsListHeaderBasicStyle">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_alignParentTop">true</item>
        <item name="android:paddingRight">4dp</item>
    </style>

    <style name="habitsListHeaderStyle" parent="habitsListHeaderBasicStyle">
        <item name="android:background">@drawable/habits_list_header_background</item>
    </style>

    <style name="habitsListStarStyle">
        <item name="android:layout_width">30dp</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:layout_marginTop">0dp</item>
        <item name="android:gravity">center</item>
        <item name="android:paddingTop">1dp</item>
        <item name="android:textSize">16sp</item>
    </style>

    <style name="habitsListNameStyle">
        <item name="android:layout_width">0dp</item>
        <item name="android:layout_weight">1</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:gravity">center_vertical</item>
        <item name="android:paddingBottom">6dp</item>
        <item name="android:paddingLeft">0dp</item>
        <item name="android:paddingRight">6dp</item>
        <item name="android:paddingTop">10dp</item>
    </style>

    <style name="habitsListButtonsPanelStyle">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">42dp</item>
        <item name="android:gravity">center</item>
        <item name="android:orientation">horizontal</item>
    </style>

    <style name="habitsListItemStyle">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:background">@color/windowBackground</item>
        <item name="android:clipToPadding">false</item>
        <item name="android:orientation">horizontal</item>
    </style>

    <style name="habitsListItemInnerPanelStyle" parent="cardStyle">
        <item name="android:orientation">horizontal</item>
        <item name="android:padding">3dp</item>
    </style>

    <style name="habitsListCheckBasicStyle">
        <item name="android:focusable">false</item>
        <item name="android:minHeight">@dimen/check_square_size</item>
        <item name="android:minWidth">@dimen/check_square_size</item>
        <item name="android:gravity">center</item>
    </style>

    <style name="habitsListCheckStyle" parent="habitsListCheckBasicStyle">
    </style>

    <style name="habitsListHeaderCheckStyle" parent="habitsListCheckStyle">
        <item name="android:layout_width">42dp</item>
        <item name="android:layout_height">match_parent</item>
        <item name="android:background">@color/transparent</item>
        <item name="android:focusable">false</item>
        <item name="android:textSize">10sp</item>
        <item name="android:textColor">#606060</item>
    </style>


    <style name="habitsListEmptyStyle">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:gravity">center</item>
        <item name="android:layout_marginTop">20dp</item>
        <item name="android:textColor">#c0c0c0</item>
    </style>

</resources>