forked from upstream-mirrors/OpenTracks
Theming: use AppCompat themes instead of Holo.
This commit is contained in:
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
-->
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<style name="BottomButton" parent="@android:style/Widget.Holo.Button.Borderless">
|
||||
<style name="BottomButton" parent="Widget.AppCompat.Button.Borderless">
|
||||
<!-- Same as BottomButton in values/styles.xml except inheriting from Widget.Holo.Button.Borderles. -->
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
@@ -23,7 +23,7 @@ limitations under the License.
|
||||
<item name="android:maxLines">2</item>
|
||||
</style>
|
||||
|
||||
<style name="BottomButtonBar" parent="@android:style/Holo.ButtonBar">
|
||||
<style name="BottomButtonBar" parent="Widget.AppCompat.ButtonBar">
|
||||
<!--
|
||||
Same as BottomButtonBar in values/styles.xml except inheriting from Holo.ButtonBar and
|
||||
adding measureWithLargestChild.
|
||||
@@ -219,13 +219,13 @@ limitations under the License.
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="TextLarge" parent="@android:style/TextAppearance.Holo.Large">
|
||||
<style name="TextLarge" parent="TextAppearance.AppCompat.Large">
|
||||
<!-- same as TextLarge in values/styles.xml except inheriting from a parent instead of specifying textSize -->
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
</style>
|
||||
|
||||
<style name="TextMedium" parent="@android:style/TextAppearance.Holo.Medium">
|
||||
<style name="TextMedium" parent="TextAppearance.AppCompat.Medium">
|
||||
<!-- same as TextMedium in values/styles.xml except inheriting from a parent instead of specifying textSize -->
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
@@ -240,7 +240,7 @@ limitations under the License.
|
||||
<item name="android:textSize">12sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextSmall" parent="@android:style/TextAppearance.Holo.Small">
|
||||
<style name="TextSmall" parent="TextAppearance.AppCompat.Small">
|
||||
<!-- same as TextSmall in values/styles.xml except inheriting from a parent instead of specifying textSize -->
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- Generated with http://android-holo-colors.com -->
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<style name="AutoCompleteTextViewCustom" parent="android:Widget.Holo.AutoCompleteTextView">
|
||||
<style name="AutoCompleteTextViewCustom" parent="Widget.AppCompat.AutoCompleteTextView">
|
||||
<item name="android:dropDownSelector">@drawable/list_selector_holo_dark</item>
|
||||
<item name="android:background">@drawable/edit_text_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="ProgressBarCustom" parent="android:Widget.Holo.ProgressBar.Horizontal">
|
||||
<style name="ProgressBarCustom" parent="Widget.AppCompat.ProgressBar.Horizontal">
|
||||
<item name="android:progressTint">@color/holo_orange_dark</item>
|
||||
<item name="android:indeterminateTint">@color/holo_orange_dark</item>
|
||||
<item name="android:indeterminateTintMode">src_in</item>
|
||||
</style>
|
||||
|
||||
<style name="SpinnerCustom" parent="android:Widget.Holo.Spinner">
|
||||
<style name="SpinnerCustom" parent="Widget.AppCompat.Spinner">
|
||||
<item name="android:background">@drawable/spinner_background_holo_dark</item>
|
||||
<item name="android:dropDownSelector">@drawable/list_selector_holo_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="SpinnerCustomText" parent="android:Widget.Holo.Spinner">
|
||||
<style name="SpinnerCustomText" parent="Widget.AppCompat.Spinner">
|
||||
<item name="android:background">@drawable/spinner_background_holo_dark</item>
|
||||
<item name="android:dropDownSelector">@drawable/list_selector_holo_dark</item>
|
||||
<item name="android:padding">0dp</item>
|
||||
|
||||
Reference in New Issue
Block a user