206 lines
11 KiB
XML
206 lines
11 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="OsmandListView" parent="@android:style/Widget.ListView">
|
|
</style>
|
|
|
|
<!-- Dashboard styles -->
|
|
<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/default_desc_text_size</item>
|
|
<item name="typeface">@string/font_roboto_medium</item>
|
|
<item name="android:textColor">?attr/dashboard_subheader_text_color</item>
|
|
<item name="android:layout_marginLeft">@dimen/subHeaderMarginLeft</item>
|
|
</style>
|
|
|
|
<style name="DashboardGeneralButton">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:gravity">center_vertical|right</item>
|
|
<item name="android:layout_height">@dimen/showAllButtonHeight</item>
|
|
<item name="android:layout_gravity">center_vertical</item>
|
|
<item name="android:textSize">@dimen/default_sub_text_size</item>
|
|
<item name="typeface">@string/font_roboto_medium</item>
|
|
<item name="android:textColor">?attr/dashboard_general_button_text_color</item>
|
|
<item name="android:layout_marginRight">@dimen/showAllButtonMarginRight</item>
|
|
<item name="android:background">?attr/dashboard_button</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/default_sub_text_size</item>
|
|
<item name="android:gravity">bottom|center_horizontal</item>
|
|
<item name="android:paddingBottom">@dimen/dashSearchPaddingBot</item>
|
|
<item name="android:background">?attr/dashboard_button</item>
|
|
</style>
|
|
|
|
<!-- Osmand themes styles -->
|
|
<style name="OsmandLightTheme" parent="Theme.AppCompat.Light">
|
|
<item name="list_divider">@color/list_divider_dark</item>
|
|
<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="btn_flat_bg">@drawable/btn_flat</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="actionModeBackground">@color/actionbar_light_color</item>
|
|
<item name="actionBarStyle">@style/Widget.Styled.ActionBarLight</item>
|
|
<item name="bg_color">@color/bg_color_light</item>
|
|
<item name="bg_card">@drawable/bg_card_light</item>
|
|
<item name="dashboard_divider">@color/dashboard_divider_light</item>
|
|
<item name="dashboard_button">@drawable/dashboard_button_light</item>
|
|
<item name="search_background">@color/search_background_dark</item>
|
|
<item name="actionModeCloseDrawable">@drawable/ic_action_mode_back</item>
|
|
<item name="actionModeStyle">@style/WhiteActionMode</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_install_header_bg">@color/plugin_details_install_header_bg_light</item>
|
|
<item name="expandable_list_item_background">@drawable/expandable_list_item_background_light</item>
|
|
<item name="expandable_list_background">@color/list_item_light</item>
|
|
<item name="size_progress_bar">@drawable/size_progressbar_light</item>
|
|
<item name="dash_parking_bg">@drawable/dash_parking_light</item>
|
|
<item name="osmo_header_background">@color/osmo_header_light</item>
|
|
<item name="dashboard_subheader_text_color">@color/dashboard_subheader_text_light</item>
|
|
<item name="dashboard_general_button_text_color">@color/dashboard_general_button_text_light</item>
|
|
<item name="android:listChoiceIndicatorMultiple">@drawable/check_light</item>
|
|
<item name="android:textColorPrimary">@color/color_black</item>
|
|
<item name="spinnerItemTextColor">@color/color_black</item>
|
|
<item name="spinnerListBackground">@color/spinner_list_background_light</item>
|
|
|
|
<item name="android:actionModeBackground">@color/actionbar_light_color</item>
|
|
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBarLight</item>
|
|
<item name="android:actionModeCloseDrawable">@drawable/ic_action_mode_back</item>
|
|
<item name="android:actionModeStyle">@style/WhiteActionMode</item>
|
|
<item name="android:actionMenuTextColor">@color/color_white</item>
|
|
</style>
|
|
|
|
<style name="OsmandDarkTheme" parent="Theme.AppCompat">
|
|
<item name="list_divider">@color/list_divider_light</item>
|
|
<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="btn_flat_bg">@drawable/btn_flat_night</item>
|
|
<item name="actionModeBackground">@color/actionbar_dark_color</item>
|
|
<item name="actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
|
|
<item name="bg_color">@color/bg_color_dark</item>
|
|
<item name="bg_card">@drawable/bg_card_dark</item>
|
|
<item name="dashboard_divider">@color/dashboard_divider_dark</item>
|
|
<item name="dashboard_button">@drawable/dashboard_button_dark</item>
|
|
<item name="search_background">@color/color_white</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_install_header_bg">@color/plugin_details_install_header_bg_dark</item>
|
|
<item name="expandable_list_item_background">@drawable/expandable_list_item_background_dark</item>
|
|
<item name="expandable_list_background">@color/list_item_dark</item>
|
|
<item name="size_progress_bar">@drawable/size_progressbar_dark</item>
|
|
<item name="dash_parking_bg">@drawable/dash_parking_dark</item>
|
|
<item name="osmo_header_background">@color/osmo_header_dark</item>
|
|
<item name="dashboard_subheader_text_color">@color/dashboard_subheader_text_dark</item>
|
|
<item name="dashboard_general_button_text_color">@color/dashboard_general_button_text_dark</item>
|
|
<item name="android:listChoiceIndicatorMultiple">@drawable/check_dark</item>
|
|
<item name="android:textColorPrimary">@color/color_white</item>
|
|
<item name="spinnerItemTextColor">@color/color_white</item>
|
|
<item name="spinnerListBackground">@color/spinner_list_background_dark</item>
|
|
|
|
<item name="android:actionModeBackground">@color/actionbar_dark_color</item>
|
|
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
|
|
</style>
|
|
|
|
|
|
|
|
<!-- Standard action bar override -->
|
|
<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="titleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
|
|
<item name="subtitleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
|
|
<item name="actionBarWidgetTheme">@style/Theme.AppCompat</item>
|
|
|
|
<item name="android:titleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
|
|
<item name="android:subtitleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
|
|
<item name="android:actionBarWidgetTheme">@style/Theme.AppCompat</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="titleTextStyle">@style/WhiteActionModeTitleTextStyle</item>
|
|
<item name="android:titleTextStyle">@style/WhiteActionModeTitleTextStyle</item>
|
|
</style>
|
|
|
|
<style name="WhiteActionModeTitleTextStyle" parent="@style/TextAppearance.AppCompat.Widget.ActionMode.Title">
|
|
<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>
|