<!--
  ~ Copyright (C) 2017-2021 HERE Europe B.V.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="MSDKUIDarkTheme">
    </style>

    <style name="GuidanceEstimatedArrivalLeftAlignedRedGreen" parent="AppTheme">
        <!-- change all param which you want to change in this theme -->
        <item name="guidanceArrivalTime">@style/CustomGuidanceArrivalTimeLeftRed</item>
        <item name="guidanceArrivalDistance">@style/CustomGuidanceArrivalDistanceGreen</item>
        <item name="guidanceArrivalDuration">@style/CustomGuidanceArrivalDurationGreen</item>
    </style>

    <style name="GuidanceEstimatedArrivalRightAlignedRedGreen" parent="AppTheme">
        <!-- change all param which you want to change in this theme -->
        <item name="guidanceArrivalTime">@style/CustomGuidanceArrivalTimeRightRed</item>
        <item name="guidanceArrivalDistance">@style/CustomGuidanceArrivalDistanceGreen</item>
        <item name="guidanceArrivalDuration">@style/CustomGuidanceArrivalDurationGreen</item>
    </style>

    <style name="GuidanceEstimatedArrivalWithRedBigDuration" parent="AppTheme">
        <!-- change all param which you want to change in this theme -->
        <item name="guidanceArrivalDuration">@style/CustomGuidanceArrivalDuration</item>
    </style>

    <style name="GuidanceEstimatedArrivalDurationTheme" parent="AppTheme">
        <!-- change all param which you want to change in this theme -->
        <item name="guidanceArrivalDuration">@style/CustomGuidanceArrivalDuration</item>
    </style>

    <style name="GuidanceEstimatedArrivalTimeTheme" parent="AppTheme">
        <!-- change all param which you want to change in this theme -->
        <item name="guidanceArrivalTime">@style/CustomGuidanceArrivalTime</item>
    </style>

    <style name="CustomGuidanceArrivalTimeLeftRed" parent="GuidanceArrivalTime">
        <item name="android:textColor">@android:color/holo_red_dark</item>
        <item name="android:textSize">@dimen/contentMarginExtraHuge</item>
        <item name="android:textAlignment">viewStart</item>
    </style>

    <style name="CustomGuidanceArrivalTimeRightRed" parent="GuidanceArrivalTime">
        <item name="android:textColor">@android:color/holo_red_dark</item>
        <item name="android:textSize">@dimen/contentMarginExtraHuge</item>
        <item name="android:textAlignment">viewEnd</item>
    </style>

    <style name="CustomGuidanceArrivalDistanceGreen" parent="GuidanceArrivalDistance">
        <item name="android:textColor">@android:color/holo_green_dark</item>
    </style>

    <style name="CustomGuidanceArrivalDurationGreen" parent="GuidanceArrivalDuration">
        <item name="android:textColor">@android:color/holo_green_dark</item>
    </style>

    <style name="CustomGuidanceArrivalTime" parent="GuidanceArrivalTime">
        <item name="android:textColor">@android:color/holo_red_dark</item>
        <item name="android:textSize">48sp</item>
    </style>

    <style name="CustomGuidanceArrivalDuration" parent="GuidanceArrivalDuration">
        <item name="android:textColor">@android:color/holo_red_dark</item>
        <item name="android:textSize">@dimen/contentMarginHuge</item>
    </style>


    <style name="GuidanceManeuverViewRed" parent="AppTheme">
        <item name="guidanceManeuverPanelHeadingText">@style/CustomGuidanceManeuverPanelHeadingText</item>
        <item name="guidanceManeuverPanelSecondaryText">@style/CustomGuidanceManeuverPanelSecondaryText</item>
    </style>

    <style name="GuidanceManeuverViewRedScreen2" parent="AppTheme">
        <item name="guidanceManeuverPanelHeadingTextScreen2">@style/CustomGuidanceManeuverPanelHeadingText</item>
        <item name="guidanceManeuverPanelSecondaryTextScreen2">@style/CustomGuidanceManeuverPanelSecondaryText</item>
    </style>

    <style name="CustomGuidanceManeuverPanelHeadingText" parent="GuidanceManeuverPanelHeadingText">
        <item name="android:textColor">@android:color/holo_red_dark</item>
    </style>

    <style name="CustomGuidanceManeuverPanelSecondaryText" parent="GuidanceManeuverPanelSecondaryText">
        <item name="android:textColor">@android:color/holo_red_dark</item>
    </style>

    <style name="GuidanceNextManeuverViewWithoutIcon" parent="AppTheme">
        <item name="guidanceNextManeuverPanelLeftIcon">@style/CustomGuidanceNextManeuverPanelLeftIcon</item>
    </style>

    <style name="CustomGuidanceNextManeuverPanelLeftIcon" parent="GuidanceNextManeuverPanelLeftIcon">
        <item name="android:visibility">gone</item>
    </style>

    <!-- Speed limit styling -->
    <style name="GuidanceSpeedLimitRedText" parent="AppTheme">
        <item name="guidanceSpeedLimitText">@style/CustomGuidanceSpeedLimitRedText</item>
    </style>
    <style name="GuidanceSpeedLimitBrownText" parent="AppTheme">
        <item name="guidanceSpeedLimitText">@style/CustomGuidanceSpeedLimitBrownText</item>
    </style>

    <style name="CustomGuidanceSpeedLimitRedText" parent="GuidanceSpeedLimitText">
        <item name="android:textColor">@android:color/holo_red_dark</item>
    </style>
    <style name="CustomGuidanceSpeedLimitBrownText" parent="GuidanceSpeedLimitText">
        <item name="android:textColor">@color/brown</item>
    </style>


    <style name="ManeuverItemRedGreenYellow" parent="AppTheme">
        <item name="maneuverDescriptionItemInstructionText">@style/ManeuverDescriptionItemInstructionTextRed</item>
        <item name="maneuverDescriptionItemAddressText">@style/ManeuverDescriptionItemAddressTextGreen</item>
        <item name="maneuverDescriptionItemDistanceText">@style/ManeuverDescriptionItemDistanceTextYellow</item>
    </style>

    <style name="ManeuverDescriptionItemInstructionTextRed" parent="ManeuverDescriptionItemInstructionText">
        <item name="android:textColor">@android:color/holo_red_dark</item>
    </style>

    <style name="ManeuverDescriptionItemAddressTextGreen" parent="ManeuverDescriptionItemAddressText">
        <item name="android:textColor">@android:color/holo_green_dark</item>
    </style>

    <style name="ManeuverDescriptionItemDistanceTextYellow" parent="ManeuverDescriptionItemDistanceText">
        <item name="android:textColor">@color/yellow</item>
    </style>

    <style name="ManeuverItemVisibleSectionIcon" parent="AppTheme">
        <item name="visible">icon</item>
    </style>

    <style name="ManeuverItemVisibleSectionInstructions" parent="AppTheme">
        <item name="visible">instructions</item>
    </style>

    <style name="ManeuverItemVisibleSectionAddress" parent="AppTheme">
        <item name="visible">address</item>
    </style>

    <style name="ManeuverItemVisibleSectionDistance" parent="AppTheme">
        <item name="visible">distance</item>
    </style>

</resources>
