Skip to content

Commit

Permalink
set text color for menus
Browse files Browse the repository at this point in the history
fix cgeo#66

- remove theme definitions for api 11 an 14, merge them in the default configuration files (we are on min sdk 16)
- add text color definitions
- define the default text color (white) fo the AppTheme
  • Loading branch information
bekuno committed Mar 7, 2020
1 parent 640b776 commit e9d7f14
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 30 deletions.
11 changes: 0 additions & 11 deletions src/main/res/values-v11/styles_theme.xml

This file was deleted.

5 changes: 0 additions & 5 deletions src/main/res/values-v11/themes.xml

This file was deleted.

9 changes: 0 additions & 9 deletions src/main/res/values-v14/styles_theme.xml

This file was deleted.

2 changes: 2 additions & 0 deletions src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@
<color name="title_separator">#40ffffff</color>
<color name="title_separator_dark">#40000000</color>
<color name="btn_disabled">#80aaaaaa</color>
<color name="text_dark">#FFFFFFFF</color>
<color name="text_light">#FF000000</color>
</resources>
8 changes: 4 additions & 4 deletions src/main/res/values/styles_theme.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">

<style name="AppTheme" parent="@android:style/Theme.Light.NoTitleBar">
<style name="AppTheme" parent="@android:style/Theme.Holo.Light.NoActionBar">
<item name="android:windowAnimationStyle">@null</item>
<item name="android:textColor">@color/text_dark</item>
</style>

<style name="ThemeSettings" parent="android:Theme" />

</resources>
<style name="ThemeSettings" parent="@android:style/Theme.Holo.Light.DarkActionBar" />
</resources>
2 changes: 1 addition & 1 deletion src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="Mapsforge" parent="@android:style/Theme.NoTitleBar" />
<style name="Mapsforge" parent="@android:style/Theme.Holo" />
</resources>

0 comments on commit e9d7f14

Please sign in to comment.