301 lines
16 KiB
XML
301 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<style name="Dialog_Fullscreen" parent="android:Theme">
|
|
<item name="android:windowNoTitle">true</item>
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowBackground">@color/color_transparent</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:backgroundDimEnabled">false</item>
|
|
</style>
|
|
|
|
<style name="DashboardSubHeader">
|
|
<item name="android:layout_width">0dp</item>
|
|
<item name="android:layout_weight">1</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:paddingBottom">@dimen/subHeaderPadding</item>
|
|
<item name="android:gravity">center_vertical</item>
|
|
<item name="android:textSize">@dimen/subHeaderTextSize</item>
|
|
<item name="typeface">@string/font_roboto_medium</item>
|
|
</style>
|
|
|
|
<!-- Pre-v17 version -->
|
|
<style name="DashboardSubHeader.Compat" parent="DashboardSubHeader">
|
|
<item name="android:layout_marginLeft">@dimen/subHeaderMarginLeft</item>
|
|
</style>
|
|
|
|
<style name="DashboardSubHeader.Light" parent="DashboardSubHeader.Compat">
|
|
<item name="android:textColor">@color/dashboard_subheader_text_light</item>
|
|
</style>
|
|
|
|
<style name="DashboardSubHeader.Dark" parent="DashboardSubHeader.Compat">
|
|
<item name="android:textColor">@color/dashboard_subheader_text_dark</item>
|
|
</style>
|
|
|
|
<style name="DashParkingText">
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="android:textSize">@dimen/dashParkingTextSize</item>
|
|
</style>
|
|
|
|
<style name="DashboardGeneralButton">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">@dimen/showAllButtonHeight</item>
|
|
<item name="android:layout_gravity">center_vertical</item>
|
|
<item name="android:textSize">@dimen/showAllButtonTextSize</item>
|
|
<item name="typeface">@string/font_roboto_medium</item>
|
|
</style>
|
|
|
|
<!-- Pre-v17 version -->
|
|
<style name="DashboardGeneralButton.Compat" parent="DashboardGeneralButton">
|
|
<item name="android:layout_marginRight">@dimen/showAllButtonMarginRight</item>
|
|
</style>
|
|
|
|
<style name="DashboardGeneralButton.Light" parent="DashboardGeneralButton.Compat">
|
|
<item name="android:textColor">@color/dashboard_general_button_text_light</item>
|
|
<item name="android:background">@drawable/dashboard_button_light</item>
|
|
</style>
|
|
|
|
<style name="DashboardGeneralButton.Dark" parent="DashboardGeneralButton.Compat">
|
|
<item name="android:textColor">@color/dashboard_general_button_text_dark</item>
|
|
<item name="android:background">@drawable/dashboard_button_dark</item>
|
|
</style>
|
|
|
|
<style name="DashboardSearchButton">
|
|
<item name="android:paddingTop">@dimen/dashSearchPaddingTop</item>
|
|
<item name="android:layout_width">0dp</item>
|
|
<item name="android:layout_height">match_parent</item>
|
|
<item name="android:layout_weight">1</item>
|
|
<item name="android:textColor">?android:textColorPrimary</item>
|
|
<item name="android:textSize">@dimen/showAllButtonTextSize</item>
|
|
<item name="android:gravity">bottom|center_horizontal</item>
|
|
<item name="android:paddingBottom">@dimen/dashSearchPaddingBot</item>
|
|
</style>
|
|
|
|
<style name="DashboardSearchButton.Light" parent="DashboardSearchButton">
|
|
<item name="android:background">@drawable/dashboard_button_light</item>
|
|
</style>
|
|
|
|
<style name="DashboardSearchButton.Dark" parent="DashboardSearchButton">
|
|
<item name="android:background">@drawable/dashboard_button_dark</item>
|
|
</style>
|
|
|
|
<style name="ListText">
|
|
<item name="android:textSize">20sp</item>
|
|
</style>
|
|
<style name="ListText.Small">
|
|
<item name="android:textSize">17sp</item>
|
|
</style>
|
|
|
|
<style name="OsmandListView" parent="@android:style/Widget.ListView">
|
|
</style>
|
|
|
|
<style name="MainMenuActionBar" parent="Theme.AppCompat.Light.DarkActionBar">
|
|
<!--<item name="android:windowActionBarOverlay">true</item>-->
|
|
|
|
<!-- Support library compatibility -->
|
|
<item name="windowActionBarOverlay">true</item>
|
|
</style>
|
|
|
|
<style name="SettingsLightTheme" parent="Theme.AppCompat.Light">
|
|
<item name="actionBarStyle">@style/Widget.Styled.ActionBarLight</item>
|
|
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBarLight</item>
|
|
<item name="android:listChoiceIndicatorMultiple">@drawable/check_light</item>
|
|
<item name="android:textColorPrimary">@color/color_black</item>
|
|
<item name="android:textColorSecondary">@color/color_black</item>
|
|
</style>
|
|
|
|
<style name="SettingsDarkTheme" parent="Theme.AppCompat">
|
|
<item name="actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
|
|
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
|
|
<item name="android:listChoiceIndicatorMultiple">@drawable/check_dark</item>
|
|
</style>
|
|
|
|
<style name="DashboardLightTheme" parent="OsmandLightTheme">
|
|
<item name="windowActionBarOverlay">true</item>
|
|
</style>
|
|
|
|
<style name="DashboardDarkTheme" parent="OsmandDarkTheme">
|
|
<item name="windowActionBarOverlay">true</item>
|
|
</style>
|
|
|
|
<style name="OsmandLightTheme" parent="Theme.AppCompat.Light">
|
|
<item name="options_button_background">@drawable/dashboard_button_light</item>
|
|
<item name="list_divider">@color/list_divider_dark</item>
|
|
<item name="reset_image">@drawable/ic_action_delete_light</item> <!-- @drawable/a_1_navigation_cancel_light -->
|
|
<item name="expandable_category_color">?android:attr/colorBackground</item>
|
|
<item name="bottomToolBarColor">@color/tool_bar_color_light</item>
|
|
<item name="downloadButtonBackground">@drawable/download_light</item>
|
|
<item name="pstsTabBackground">@color/actionbar_light_color</item>
|
|
<item name="pstsUnderlineColor">@color/actionbar_light_color</item>
|
|
<item name="pstsIndicatorColor">@color/color_white</item>
|
|
<item name="pstsTextColor">@color/color_white</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:actionModeBackground">@color/actionbar_light_color</item>
|
|
<item name="actionModeBackground">@color/actionbar_light_color</item>
|
|
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBarLight</item>
|
|
<item name="actionBarStyle">@style/Widget.Styled.ActionBarLight</item>
|
|
<item name="card_bg">@drawable/bg_card_light</item>
|
|
<item name="ic_action_check">@drawable/ic_action_check_light</item>
|
|
<item name="ic_extension">@drawable/ic_extension_light</item>
|
|
<item name="ic_overflow_menu">@drawable/ic_overflow_menu_light</item>
|
|
<item name="ic_plugin_options">@drawable/ic_plugin_options_light</item>
|
|
<item name="dashboardGeneralButtonStyle">@style/DashboardGeneralButton.Light</item>
|
|
<item name="dashboardSubHeaderStyle">@style/DashboardSubHeader.Light</item>
|
|
<item name="dashboard_divider">@color/dashboard_divider_light</item>
|
|
<item name="dashboard_button">@drawable/dashboard_button_light</item>
|
|
<item name="dashboardSearchButtonStyle">@style/DashboardSearchButton.Light</item>
|
|
<item name="ic_action_info2">@drawable/ic_action_info2_light</item>
|
|
<item name="ic_action_home2">@drawable/ic_action_home2_light</item>
|
|
<item name="ic_action_marker2">@drawable/ic_action_marker2_light</item>
|
|
<item name="search_background">@color/search_background_dark</item>
|
|
<item name="ic_action_settings">@drawable/ic_action_settings_light</item>
|
|
<item name="android:actionModeCloseDrawable">@drawable/action_mode_back</item>
|
|
<item name="actionModeCloseDrawable">@drawable/action_mode_back</item>
|
|
<item name="android:actionModeStyle">@style/WhiteActionMode</item>
|
|
<item name="actionModeStyle">@style/WhiteActionMode</item>
|
|
<item name="android:actionMenuTextColor">@color/color_white</item>
|
|
<item name="actionMenuTextColor">@color/color_white</item>
|
|
<item name="switch_ex_background">@drawable/switch_ex_background_light</item>
|
|
<item name="switch_ex_text_color">@color/switch_ex_button_text_light</item>
|
|
<item name="bg_plugin_logo_disabled">@drawable/bg_plugin_logo_disabled_light</item>
|
|
<item name="plugin_details_header_bg">@color/plugin_details_header_bg_light</item>
|
|
<item name="plugin_details_install_header_bg">@color/plugin_details_install_header_bg_light</item>
|
|
<item name="ic_world_globe">@drawable/ic_world_globe_light</item>
|
|
<item name="plugin_description_header_text_color">#727272</item>
|
|
<item name="expandable_list_item_background">@drawable/expandable_list_item_background_light</item>
|
|
<item name="expandable_list_background">@color/color_white</item>
|
|
<item name="list_settings_icon">@drawable/ic_overflow_menu_light</item>
|
|
<item name="size_progress_bar">@drawable/size_progressbar_light</item>
|
|
</style>
|
|
|
|
<style name="OsmandDarkTheme" parent="Theme.AppCompat">
|
|
<item name="options_button_background">@drawable/dashboard_button_dark</item>
|
|
<item name="list_divider">@color/list_divider_light</item>
|
|
<item name="reset_image">@drawable/ic_action_delete_dark</item> <!-- @drawable/a_1_navigation_cancel_dark -->
|
|
<item name="expandable_category_color">?android:attr/colorBackground</item>
|
|
<item name="bottomToolBarColor">@color/tool_bar_color_dark</item>
|
|
<item name="downloadButtonBackground">@drawable/download_dark</item>
|
|
<item name="pstsTabBackground">@color/actionbar_dark_color</item>
|
|
<item name="pstsUnderlineColor">@color/actionbar_dark_color</item>
|
|
<item name="pstsIndicatorColor">@color/actionbar_light_color</item>
|
|
<item name="pstsTextColor">@color/color_white</item>
|
|
<item name="android:actionModeBackground">@color/actionbar_dark_color</item>
|
|
<item name="actionModeBackground">@color/actionbar_dark_color</item>
|
|
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
|
|
<item name="actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
|
|
<item name="card_bg">@drawable/bg_card_dark</item>
|
|
<item name="ic_action_check">@drawable/ic_action_check_dark</item>
|
|
<item name="ic_extension">@drawable/ic_extension_dark</item>
|
|
<item name="ic_overflow_menu">@drawable/ic_overflow_menu_dark</item>
|
|
<item name="ic_plugin_options">@drawable/ic_plugin_options_dark</item>
|
|
<item name="dashboardGeneralButtonStyle">@style/DashboardGeneralButton.Dark</item>
|
|
<item name="dashboardSubHeaderStyle">@style/DashboardSubHeader.Dark</item>
|
|
<item name="dashboard_divider">@color/dashboard_divider_dark</item>
|
|
<item name="dashboard_button">@drawable/dashboard_button_dark</item>
|
|
<item name="dashboardSearchButtonStyle">@style/DashboardSearchButton.Dark</item>
|
|
<item name="ic_action_info2">@drawable/ic_action_info2_dark</item>
|
|
<item name="ic_action_home2">@drawable/ic_action_home2_dark</item>
|
|
<item name="ic_action_marker2">@drawable/ic_action_marker2_dark</item>
|
|
<item name="search_background">@color/color_white</item>
|
|
<item name="ic_action_settings">@drawable/ic_action_settings_dark</item>
|
|
<item name="switch_ex_background">@drawable/switch_ex_background_dark</item>
|
|
<item name="switch_ex_text_color">@color/switch_ex_button_text_dark</item>
|
|
<item name="bg_plugin_logo_disabled">@drawable/bg_plugin_logo_disabled_dark</item>
|
|
<item name="plugin_details_header_bg">@color/list_item_background_dark</item>
|
|
<item name="plugin_details_install_header_bg">@color/plugin_details_install_header_bg_dark</item>
|
|
<item name="ic_world_globe">@drawable/ic_world_globe_dark</item>
|
|
<item name="plugin_description_header_text_color">#70818c</item>
|
|
<item name="expandable_list_item_background">@drawable/expandable_list_item_background_dark</item>
|
|
<item name="expandable_list_background">@color/list_background_dark</item>
|
|
<item name="list_settings_icon">@drawable/ic_overflow_menu_dark</item>
|
|
<item name="size_progress_bar">@drawable/size_progressbar_dark</item>
|
|
</style>
|
|
|
|
<style name="Widget.Styled.ActionBarDark" parent="Widget.AppCompat.Light.ActionBar.Solid.Inverse">
|
|
<item name="background">@color/actionbar_dark_color</item>
|
|
<item name="android:background">@color/actionbar_dark_color</item>
|
|
</style>
|
|
|
|
<style name="Widget.Styled.ActionBarLight" parent="Widget.AppCompat.Light.ActionBar.Solid">
|
|
<item name="background">@color/actionbar_light_color</item>
|
|
<item name="android:background">@color/actionbar_light_color</item>
|
|
<item name="android:titleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
|
|
<item name="titleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
|
|
<item name="android:subtitleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
|
|
<item name="subtitleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
|
|
<item name="android:actionDropDownStyle">@style/ActionBarDropDownLight</item>
|
|
<item name="actionDropDownStyle">@style/ActionBarDropDownLight</item>
|
|
<item name="android:actionBarWidgetTheme">@style/ActionBarWidgetLight</item>
|
|
<item name="actionBarWidgetTheme">@style/ActionBarWidgetLight</item>
|
|
</style>
|
|
|
|
<style name="Widget.Styled.LightActionBarHeader" parent="@android:style/TextAppearance">
|
|
<item name="android:textColor">@color/color_white</item>
|
|
</style>
|
|
|
|
<style name="WhiteActionMode" parent="@style/Widget.AppCompat.ActionMode">
|
|
<item name="android:titleTextStyle">@style/WhiteActionModeTitleTextStyle</item>
|
|
<item name="titleTextStyle">@style/WhiteActionModeTitleTextStyle</item>
|
|
</style>
|
|
|
|
<style name="WhiteActionModeTitleTextStyle" parent="@style/TextAppearance.AppCompat.Widget.ActionMode.Title">
|
|
<item name="android:textColor">@color/color_white</item>
|
|
</style>
|
|
|
|
<style name="ActionBarWidgetLight" parent="@style/Theme.AppCompat">
|
|
<item name="android:spinnerDropDownItemStyle">@style/ActionBarDropDownSpinnerLight</item>
|
|
</style>
|
|
|
|
<style name="ActionBarDropDownLight" parent="@style/Widget.AppCompat.Spinner.DropDown.ActionBar">
|
|
<item name="background">@color/actionbar_light_color</item>
|
|
<item name="android:background">@color/actionbar_light_color</item>
|
|
<item name="android:popupBackground">@color/actionbar_light_color</item>
|
|
</style>
|
|
|
|
<style name="ActionBarDropDownSpinnerLight" parent="Widget.AppCompat.DropDownItem.Spinner">
|
|
<item name="android:textAppearance">@style/ActionBarDropDownTextLight</item>
|
|
</style>
|
|
|
|
<style name="ActionBarDropDownTextLight" parent="TextAppearance.AppCompat.Widget.DropDownItem">
|
|
<item name="android:textColor">@color/color_white</item>
|
|
</style>
|
|
|
|
<!-- Dialog popup -->
|
|
<style name="Animations" />
|
|
<!-- PopDownMenu -->
|
|
<style name="Animations.PopDownMenu" />
|
|
|
|
<style name="Animations.PopDownMenu.Left">
|
|
<item name="@android:windowEnterAnimation">@anim/grow_from_topleft_to_bottomright</item>
|
|
<item name="@android:windowExitAnimation">@anim/shrink_from_bottomright_to_topleft</item>
|
|
</style>
|
|
|
|
<style name="Animations.PopDownMenu.Right">
|
|
<item name="@android:windowEnterAnimation">@anim/grow_from_topright_to_bottomleft</item>
|
|
<item name="@android:windowExitAnimation">@anim/shrink_from_bottomleft_to_topright</item>
|
|
</style>
|
|
|
|
<style name="Animations.PopDownMenu.Center">
|
|
<item name="@android:windowEnterAnimation">@anim/grow_from_top</item>
|
|
<item name="@android:windowExitAnimation">@anim/shrink_from_bottom</item>
|
|
</style>
|
|
|
|
<!-- PopUpMenu -->
|
|
<style name="Animations.PopUpMenu" />
|
|
|
|
<style name="Animations.PopUpMenu.Left">
|
|
<item name="@android:windowEnterAnimation">@anim/grow_from_bottomleft_to_topright</item>
|
|
<item name="@android:windowExitAnimation">@anim/shrink_from_topright_to_bottomleft</item>
|
|
</style>
|
|
|
|
<style name="Animations.PopUpMenu.Right">
|
|
<item name="@android:windowEnterAnimation">@anim/grow_from_bottomright_to_topleft</item>
|
|
<item name="@android:windowExitAnimation">@anim/shrink_from_topleft_to_bottomright</item>
|
|
</style>
|
|
|
|
<style name="Animations.PopUpMenu.Center">
|
|
<item name="@android:windowEnterAnimation">@anim/grow_from_bottom</item>
|
|
<item name="@android:windowExitAnimation">@anim/shrink_from_top</item>
|
|
</style>
|
|
|
|
|
|
</resources>
|