OsmAnd/OsmAnd/res/values/styles.xml

209 lines
10 KiB
XML
Raw Normal View History

2011-05-24 01:07:01 +02:00
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2013-05-09 19:24:30 +02:00
<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>
2014-12-17 16:13:43 +01:00
<item name="android:paddingBottom">@dimen/subHeaderPadding</item>
<item name="android:gravity">center_vertical</item>
<item name="android:textColor">@color/dashboard_black</item>
2014-12-17 16:13:43 +01:00
<item name="android:layout_marginLeft">@dimen/subHeaderMarginLeft</item>
<item name="android:textSize">@dimen/subHeaderTextSize</item>
</style>
<style name="DashParkingText">
<item name="android:textStyle">bold</item>
<item name="android:textSize">@dimen/dashParkingTextSize</item>
</style>
<style name="DashboardGeneralButton">
2014-12-17 16:13:43 +01:00
<item name="android:layout_marginRight">@dimen/showAllButtonMarginRight</item>
<item name="android:layout_width">wrap_content</item>
2014-12-17 16:13:43 +01:00
<item name="android:layout_height">@dimen/showAllButtonHeight</item>
<item name="android:layout_gravity">center_vertical</item>
2014-12-17 16:13:43 +01:00
<item name="android:textSize">@dimen/showAllButtonTextSize</item>
<item name="android:textColor">@color/dashboard_blue</item>
<item name="android:background">@drawable/dashboard_button</item>
</style>
<style name="DashboardSearchButton">
2014-12-17 16:13:43 +01:00
<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>
2014-12-17 16:13:43 +01:00
<item name="android:textSize">@dimen/showAllButtonTextSize</item>
<item name="android:textColor">@color/dashboard_black</item>
<item name="android:background">@drawable/dashboard_button</item>
<item name="android:gravity">bottom|center_horizontal</item>
2014-12-17 16:13:43 +01:00
<item name="android:paddingBottom">@dimen/dashSearchPaddingBot</item>
</style>
<style name="ListText">
2013-07-17 13:55:51 +02:00
<item name="android:textSize">20sp</item>
2013-05-09 19:24:30 +02:00
</style>
<style name="ListText.Small">
2013-07-17 13:55:51 +02:00
<item name="android:textSize">17sp</item>
2013-05-09 19:24:30 +02:00
</style>
<style name="OsmandListView" parent="@android:style/Widget.ListView">
<item name="android:divider">@drawable/tab_text_separator</item>
</style>
<style name="MainMenuActionBar" parent="Theme.AppCompat.Light.DarkActionBar">
<!--<item name="android:windowActionBarOverlay">true</item>-->
<!-- Support library compatibility -->
<item name="windowActionBarOverlay">true</item>
</style>
2014-12-29 16:52:20 +01:00
<style name="OsmandLightTheme" parent="Theme.AppCompat.Light">
2013-05-09 19:24:30 +02:00
<item name="expandable_category_color">@color/group_background</item>
<item name="android:actionDropDownStyle">@style/Widget.LightSpinner</item>
<item name="actionDropDownStyle">@style/Widget.LightSpinner</item>
2013-07-01 00:27:02 +02:00
<item name="reset_image">@drawable/ic_action_delete_light</item> <!-- @drawable/a_1_navigation_cancel_light -->
<item name="windowActionBarOverlay">true</item>
<item name="bottomToolBarColor">@color/tool_bar_light_color</item>
<item name="pstsTabBackground">@color/actionbar_light_color</item>
<item name="pstsUnderlineColor">@color/actionbar_light_color</item>
2015-01-27 16:48:36 +01:00
<item name="pstsIndicatorColor">@color/color_white</item>
<item name="pstsTextColor">@color/color_white</item>
2015-01-28 17:56:23 +01:00
<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="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="actionBarStyle">@style/Widget.Styled.ActionBarLight</item>
2015-01-28 17:14:06 +01:00
<item name="card_bg">@drawable/bg_card_light</item>
2015-01-30 13:58:42 +01:00
<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>
2013-05-09 19:24:30 +02:00
</style>
<style name="OsmandDarkTheme" parent="Theme.AppCompat">
<item name="reset_image">@drawable/ic_action_delete_dark</item> <!-- @drawable/a_1_navigation_cancel_dark -->
<item name="android:actionDropDownStyle">@style/Widget.DarkActionSpinner</item>
<item name="actionDropDownStyle">@style/Widget.DarkActionSpinner</item>
<item name="expandable_category_color">?android:attr/colorBackground</item>
<item name="android:spinnerStyle">@style/Widget.DarkSpinner</item>
<item name="windowActionBarOverlay">true</item>
<item name="bottomToolBarColor">@color/tool_bar_dark_color</item>
<item name="pstsTabBackground">@color/actionbar_dark_color</item>
<item name="pstsUnderlineColor">@color/actionbar_dark_color</item>
2015-01-27 16:48:36 +01:00
<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="actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
2015-01-28 17:14:06 +01:00
<item name="card_bg">@drawable/bg_card_dark</item>
2015-01-30 13:58:42 +01:00
<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>
</style>
2014-12-29 16:52:20 +01:00
<style name="OsmandLightDarkActionBarTheme" parent="Theme.AppCompat.Light.DarkActionBar">
2013-07-01 00:27:02 +02:00
<item name="reset_image">@drawable/ic_action_delete_light</item> <!-- @drawable/a_1_navigation_cancel_light -->
2013-05-09 19:24:30 +02:00
<item name="expandable_category_color">@color/group_background</item>
<item name="bottomToolBarColor">@color/tool_bar_dark_color</item>
<item name="pstsTabBackground">@color/actionbar_dark_color</item>
2015-01-27 16:48:36 +01:00
<item name="pstsIndicatorColor">@color/actionbar_light_color</item>
<item name="actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
<item name="android:actionBarStyle">@style/Widget.Styled.ActionBarDark</item>
2013-05-09 19:24:30 +02:00
</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>
2015-01-27 16:48:36 +01:00
<item name="android:titleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
<item name="titleTextStyle">@style/Widget.Styled.LightActionBarHeader</item>
</style>
<style name="Widget.Styled.LightActionBarHeader" parent="@android:style/TextAppearance">
<item name="android:textColor">@color/color_white</item>
2013-05-09 19:24:30 +02:00
</style>
<style name="Widget.DarkSpinner" parent="@style/Widget.AppCompat.Spinner.DropDown.ActionBar">
<item name="android:popupBackground">@color/actionbar_dark_color</item>
<item name="android:textColor">@color/color_white</item>
</style>
<style name="Widget.DarkActionSpinner" parent="@style/Widget.AppCompat.Spinner.DropDown.ActionBar">
<item name="android:popupBackground">@color/actionbar_dark_color</item>
<item name="android:textColor">@color/color_white</item>
</style>
<style name="Widget.LightSpinner" parent="@style/Widget.AppCompat.Spinner.DropDown.ActionBar">
<item name="android:popupBackground">@color/actionbar_light_color</item>
<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>
2013-05-09 19:24:30 +02:00
<!-- Dialog popup -->
2011-06-27 00:57:44 +02:00
<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>
2013-05-09 19:24:30 +02:00
2011-06-27 00:57:44 +02:00
</resources>