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

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>

        <item name="android:statusBarColor">@color/colorPrimaryDark</item>
        <item name="windowActionModeOverlay">true</item>
    </style>

    <style name="AuthenticationTheme" parent="Theme.AppCompat.NoActionBar">
        <item name="android:statusBarColor">@color/colorPrimaryDark</item>
        <item name="android:windowBackground">@color/colorPrimary</item>
    </style>

    <!-- Widget styles. -->
    <style name="Authentication.TextView" parent="TextAppearance.AppCompat.Medium">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">50dp</item>
        <item name="android:layout_marginStart">@dimen/screen_edge_left_and_right_margins</item>
        <item name="android:paddingStart">@dimen/edit_text_margin</item>
        <item name="android:maxLines">1</item>
        <item name="android:drawablePadding">@dimen/edit_text_drawable_padding</item>
        <item name="android:fontFamily">sans-serif</item>
        <item name="android:background">@drawable/style_edit_text_authentication</item>
    </style>

    <style name="Authentication.Headline.TextView" parent="TextAppearance.AppCompat.Headline">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:layout_marginTop">20dp</item>
        <item name="android:layout_marginStart">@dimen/screen_edge_left_and_right_margins</item>
        <item name="android:layout_marginEnd">@dimen/screen_edge_left_and_right_margins</item>
    </style>

    <style name="Authentication.EditText" parent="Widget.AppCompat.EditText">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">50dp</item>
        <item name="android:layout_marginStart">@dimen/screen_edge_left_and_right_margins</item>
        <item name="android:layout_marginEnd">@dimen/screen_edge_left_and_right_margins</item>
        <item name="android:paddingStart">@dimen/edit_text_margin</item>
        <item name="android:paddingEnd">@dimen/edit_text_margin</item>
        <item name="android:maxLines">1</item>
        <item name="android:drawablePadding">@dimen/edit_text_drawable_padding</item>
        <item name="android:drawableTint" tools:ignore="NewApi">@color/colorDrawableTintGrey</item>
        <item name="android:fontFamily">sans-serif</item>
        <item name="android:background">@drawable/style_edit_text_authentication</item>
    </style>

    <style name="Authentication.Button" parent="Widget.AppCompat.Button">
        <item name="android:layout_width">match_parent</item>
        <item name="android:layout_height">wrap_content</item>
        <item name="android:background">@drawable/effect_ripple</item>
    </style>

    <style name="EditText.Password" parent="TextAppearance.AppCompat">
        <!-- Hint color and label color in FALSE state -->
        <item name="android:textColorHint">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorPrimaryDark</item>
        <item name="colorControlNormal">@color/colorPrimaryDark</item>
        <item name="colorControlActivated">@color/colorPrimaryDark</item>
    </style>

    <style name="AuthenticationLabel" parent="TextAppearance.AppCompat.Medium">
        <item name="android:layout_width">wrap_content</item>
        <item name="android:layout_height">50dp</item>
        <item name="android:layout_marginStart">@dimen/screen_edge_left_and_right_margins</item>
        <item name="android:paddingStart">@dimen/edit_text_margin</item>
    </style>

    <style name="ChatRooms.Header" parent="TextAppearance.AppCompat.Headline">
        <item name="android:textSize">16sp</item>
    </style>

    <style name="ChatRoom.Name.TextView" parent="TextAppearance.AppCompat.Title">
        <item name="android:ellipsize">end</item>
        <item name="android:maxLines">1</item>
        <item name="android:textSize">16sp</item>
    </style>

    <style name="Sender.Name.TextView" parent="TextAppearance.AppCompat.Title">
        <item name="android:ellipsize">end</item>
        <item name="android:maxLines">1</item>
        <item name="android:textSize">16sp</item>
    </style>

    <style name="Message.TextView" parent="android:TextAppearance">
        <item name="android:textSize">15sp</item>
        <item name="android:textColor">@color/colorPrimaryText</item>
    </style>

    <style name="Message.Quote.TextView" parent="Message.TextView">
        <item name="android:textColor">@color/colorPrimaryText</item>
    </style>

    <style name="Timestamp.TextView" parent="TextAppearance.AppCompat.Caption">
        <item name="android:textSize">10sp</item>
    </style>

    <style name="Profile.EditText" parent="Authentication.EditText">
        <item name="android:background">@drawable/style_edit_text_profile</item>
    </style>

    <style name="ActionModeStyle" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
        <item name="android:actionModeCloseDrawable">@drawable/ic_close_white_24dp</item>
        <item name="actionModeCloseDrawable">@drawable/ic_close_white_24dp</item>
    </style>

</resources>