OsmAnd/OsmAnd/res/values/styles.xml

97 lines
4.5 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
<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="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>
<!-- The gray theme related styles -->
<style name="WhiteTitleText" parent="android:style/TextAppearance.Large">
</style>
<style name="ListText">
<item name="android:textSize">25sp</item>
</style>
<style name="ListText.Small">
<item name="android:textSize">21sp</item>
</style>
<style name="OsmandDialog" parent="android:style/Theme.Light">
<item name="android:background">@color/color_white</item>
<item name="android:textColor">@color/color_black</item>
</style>
<style name="OsmandTheme" parent="android:style/Theme">
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowBackground">@color/activity_background</item>
<item name="android:textColor">@color/activity_text</item>
<item name="android:spinnerItemStyle">@style/OsmandSpinnerItem</item>
<item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewLight</item>
<item name="android:dropDownItemStyle">@style/Widget.DropDownItemLight</item>
</style>
<style name="AutoCompleteTextViewLight" parent="@android:style/Widget.AutoCompleteTextView">
<item name="android:textColor">@android:color/primary_text_light</item>
</style>
<style name="Widget.DropDownItemLight" parent="@android:style/Widget.DropDownItem">
<item name="android:textColor">@android:color/primary_text_light</item>
</style>
<style name="OsmandSpinnerItem" parent="android:Widget.TextView.SpinnerItem">
<item name="android:textAppearance">@style/OsmandTextAppearanceSpinnerItem</item>
</style>
<style name="OsmandTextAppearanceSpinnerItem" parent="android:TextAppearance.Widget.TextView.SpinnerItem">
<item name="android:textColor">#000000</item>
</style>
<style name="CustomWindowTitleBackground">
<item name="android:background">@color/activity_background</item>
</style>
<style name="CustomTitleTheme" parent="OsmandTheme">
<item name="android:windowTitleSize">46dp</item>
<item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item>
<item name="android:preferenceScreenStyle">@style/OsmandTheme</item>
<!-- item name="android:preferenceCategoryStyle">@style/OsmandTheme</item-->
</style>
<style name="OsmandListView">
<item name="android:cacheColorHint">@color/activity_background</item>
<item name="android:divider">@drawable/tab_text_separator</item>
</style>
<style name="OsmandSpinner">
<item name="android:textColor">@color/color_black</item>
</style>
</resources>