diff --git a/OsmAnd/res/layout/editing_poi.xml b/OsmAnd/res/layout/editing_poi.xml
index 1777b68b3c..6b20cd6143 100644
--- a/OsmAnd/res/layout/editing_poi.xml
+++ b/OsmAnd/res/layout/editing_poi.xml
@@ -14,7 +14,8 @@
-
+
diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml
index 943098aa8c..f7b7af6434 100644
--- a/OsmAnd/res/values/styles.xml
+++ b/OsmAnd/res/values/styles.xml
@@ -48,6 +48,9 @@
+
@@ -59,40 +62,40 @@
- @color/color_black
-
-
+ - @color/activity_background
+ - ?android:attr/colorBackground
+
+
+ - @color/activity_text
+ - @color/activity_text
+ - @color/activity_text
+
+ - @style/OsmandListView
+
-
-
-
+
-
+
+
+
diff --git a/OsmAnd/src/net/osmand/plus/activities/CustomTitleBar.java b/OsmAnd/src/net/osmand/plus/activities/CustomTitleBar.java
index 4fea775f21..d79940b85f 100644
--- a/OsmAnd/src/net/osmand/plus/activities/CustomTitleBar.java
+++ b/OsmAnd/src/net/osmand/plus/activities/CustomTitleBar.java
@@ -15,11 +15,15 @@ public class CustomTitleBar {
private int titleImageRes;
public CustomTitleBar(final Activity activity, int titleStringRes, int titleImageRes) {
+ this(activity,titleStringRes,titleImageRes,R.style.CustomTitleTheme);
+ }
+
+ public CustomTitleBar(final Activity activity, int titleStringRes, int titleImageRes, int style) {
this.activity = activity;
this.titleStringRes = titleStringRes;
this.titleImageRes = titleImageRes;
- this.activity.setTheme(R.style.CustomTitleTheme);
+ this.activity.setTheme(style);
this.activity.requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
}
diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java
index 9742045767..823443c17e 100644
--- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java
@@ -160,10 +160,8 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
@Override
public void onCreate(Bundle savedInstanceState) {
- CustomTitleBar titleBar = new CustomTitleBar(this, R.string.settings_activity, R.drawable.tab_settings_screen_icon);
+ CustomTitleBar titleBar = new CustomTitleBar(this, R.string.settings_activity, R.drawable.tab_settings_screen_icon, R.style.CustomTitleTheme_Preference);
super.onCreate(savedInstanceState);
- getListView().setCacheColorHint(getResources().getColor(R.color.activity_background));
- getListView().setDivider(getResources().getDrawable(R.drawable.tab_text_separator));
addPreferencesFromResource(R.xml.settings_pref);
titleBar.afterSetContentView();