<resources>
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorPrimaryDark</item>
        <item name="android:screenOrientation">portrait</item>
        <item name="android:configChanges">screenSize|orientation|keyboardHidden</item>
    </style>

    <style name="AppTheme.NoActionBar">
        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>
        <item name="colorControlNormal">@color/white</item>
        <item name="actionMenuTextColor">@android:color/white</item>
        <item name="android:screenOrientation">portrait</item>
        <item name="android:configChanges">screenSize|orientation|keyboardHidden</item>
    </style>

    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

    <style name="AppTheme.NoActionBar.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

    <style name="AppTheme.NoActionBar.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />

    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light">
        <item name="colorControlNormal">@color/white</item>
        <item name="actionMenuTextColor">@android:color/white</item>
    </style>


    <declare-styleable name="DonutChart">
        <attr name="radius" format="dimension" />
    </declare-styleable>

    <style name="ThemeFullscreen" parent="AppTheme">
        <item name="android:windowFullscreen">true</item>
        <item name="windowNoTitle">true</item>
        <item name="windowActionBar">false</item>
    </style>


    <style name="Toolbar.TitleTextPhone" parent="TextAppearance.Widget.AppCompat.Toolbar.Title">
        <item name="android:textSize">@dimen/text_size_16sp</item>
    </style>


    <style name="Toolbar.TitleTextTab" parent="TextAppearance.Widget.AppCompat.Toolbar.Title">
        <item name="android:textSize">@dimen/txt_18sp</item>
    </style>


    <style name="NavigationDrawerStyle">
        <item name="android:textSize">16sp</item><!-- text size in menu-->
        <!-- item size in menu-->
        <item name="android:listPreferredItemHeightSmall">@dimen/_55dp</item>
        <item name="listPreferredItemHeightSmall">@dimen/_55dp</item>
        <item name="iconSize">20dp</item>
        <!-- item padding left in menu-->
        <item name="android:listPreferredItemPaddingLeft">8dp</item>
        <item name="listPreferredItemPaddingLeft">8dp</item>

        <!-- item padding right in menu-->
        <item name="android:listPreferredItemPaddingRight">8dp</item>
        <item name="listPreferredItemPaddingRight">8dp</item>
    </style>

    <style name="MyDarkToolbarStyle" parent="ThemeOverlay.AppCompat.Light">
        <item name="android:colorBackground">@color/white</item>
    </style>

    <style name="changestext_sizefor_mobile" parent="@style/Base.TextAppearance.AppCompat.Title">
        <item name="android:textSize">@dimen/text_size_medium</item>
        <item name="android:textColor">@color/white</item>
    </style>

    <dimen name="txt_18sp">18sp</dimen>


    <style name="ThemeOverlay.MaterialAlertDialog.Rounded" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
        <item name="alertDialogStyle">@style/MaterialAlertDialog.Rounded</item>
    </style>

    <style name="MaterialAlertDialog.Rounded" parent="MaterialAlertDialog.MaterialComponents">
        <item name="shapeAppearance">@style/ShapeAppearance.MaterialAlertDialog.Rounded</item>
    </style>

    <style name="ShapeAppearance.MaterialAlertDialog.Rounded" parent="">
        <item name="cornerSize">50dp</item>
        <item name="android:layout_margin">30dp</item>
    </style>

    <style name="custom_style_dialog">
        <item name="android:layout_marginStart">16dp</item>
        <item name="android:layout_marginEnd">16dp</item>
    </style>

    <style name="CalendarViewTheme" parent="Widget.MaterialComponents.MaterialCalendar">
        <item name="mcv_dateTextAppearance">@style/CalendarDateText</item>
        <item name="mcv_weekDayTextAppearance">@style/CalendarWeekDayText</item>
    </style>

    <style name="CalendarDateText" parent="TextAppearance.AppCompat">
        <item name="android:textSize">18sp</item> <!-- Change date text size -->
        <item name="android:textColor">#000000</item> <!-- Optional -->
    </style>

    <style name="CalendarWeekDayText" parent="TextAppearance.AppCompat">
        <item name="android:textSize">16sp</item> <!-- Change weekday text size -->
        <item name="android:textColor">#000000</item> <!-- Optional -->
    </style>

    <style name="RoundedCornerImageView" parent="">
        <item name="cornerFamily">rounded</item>
        <item name="cornerSize">16dp</item>
    </style>

    <style name="MyMaterialAlertDialog" parent="Theme.MaterialComponents.Light.Dialog.Alert">
        <!-- Dialog background -->
        <item name="android:background">@color/white</item>
        <item name="colorSurface">@color/white</item>

        <!-- Text and icon color -->
        <item name="android:textColorPrimary">@color/black</item>
        <item name="colorOnSurface">@color/black</item>

        <!-- Button and branding colors -->
        <item name="colorPrimary">@color/colorPrimary</item>

        <!-- Title & message appearance -->
        <item name="textAppearanceHeadline6">@style/DialogTitleText</item>
        <item name="textAppearanceBody2">@style/DialogMessageText</item>
    </style>

    <style name="DialogTitleText" parent="TextAppearance.MaterialComponents.Headline6">
        <item name="android:textColor">@color/black</item>
    </style>

    <style name="DialogMessageText" parent="TextAppearance.MaterialComponents.Body2">
        <item name="android:textColor">@color/black</item>
    </style>

</resources>
