<!--
  ~ This is the source code of Telegram for Android v. 1.7.x.
  ~ It is licensed under GNU GPL v. 2 or later.
  ~ You should have received a copy of the license in this archive (see LICENSE).
  ~
  ~ Copyright Nikolai Kudashov, 2013-2014.
  -->

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

    <!--THEMES-->

    <style name="Theme.TMessages.Start" parent="@android:style/Theme.Material">
        <item name="android:actionBarStyle">@style/ActionBar.Transparent.TMessages.Start</item>
        <item name="android:colorBackground">@android:color/white</item>
        <item name="android:windowBackground">@android:color/white</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:colorPrimaryDark">#435e7e</item>
        <item name="android:colorPrimary">#54759e</item>
    </style>

    <style name="Theme.TMessages" parent="@android:style/Theme.Material.Light">
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowActionBarOverlay">false</item>
        <item name="android:windowContentOverlay">@null</item>
        <item name="android:colorBackground">@android:color/white</item>
        <item name="android:windowBackground">@android:color/white</item>
        <item name="android:itemTextAppearance">@style/ActionBar.Transparent.TMessages.Item</item>
        <item name="android:listViewStyle">@style/Theme.TMessages.ListView</item>
        <item name="android:listChoiceBackgroundIndicator">@drawable/list_selector</item>
        <item name="android:editTextStyle">@style/Theme.TMessages.EditText</item>
        <item name="android:actionBarItemBackground">@drawable/bar_selector_style</item>
        <item name="android:colorPrimaryDark">#33000000</item>
        <item name="android:colorPrimary">#54759e</item>
    </style>

    <style name="Theme.TMessages.PopupNotification" parent="Theme.TMessages">
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowIsTranslucent">true</item>
        <item name="android:windowAnimationStyle">@null</item>
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
    </style>

    <!--ACTION BAR-->

    <style name="ActionBar.Transparent.TMessages.Start" parent="android:style/Widget.Material.Light.ActionBar">
        <item name="android:background">@color/header</item>
        <item name="android:logo">@drawable/transparent</item>
        <item name="android:title">""</item>
    </style>

    <!--ACTION BAR ITEMS-->
    
    <style name="ActionBar.Transparent.TMessages.Item" parent="android:TextAppearance.Widget.IconMenu.Item">
        <item name="android:textColor">#000000</item>
        <item name="android:textSize">18sp</item>
    </style>

    <!--LIST VIEW-->

    <style name="Theme.TMessages.ListView" parent="@android:style/Widget.Material.Light.ListView">
        <!--<item name="android:listSelector">@drawable/list_selector</item>-->
        <item name="android:fadingEdge">none</item>
        <item name="android:dividerHeight">1dp</item>
        <item name="android:divider">@color/divider</item>
    </style>

    <!--EDIT TEXT-->

    <style name="Theme.TMessages.EditText" parent="android:Widget.Material.Light.EditText">
        <item name="android:background">@drawable/edit_text</item>
        <item name="android:textColor">#000000</item>
    </style>

</resources>
