diff --git a/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java b/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java index 195a685357..2862bf1026 100644 --- a/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java +++ b/OsmAnd/src/net/osmand/plus/OsmAndFormatter.java @@ -90,9 +90,9 @@ public class OsmAndFormatter { if (meters >= 100 * mainUnitInMeters) { return (int) (meters / mainUnitInMeters + 0.5) + " " + ctx.getString(mainUnitStr); //$NON-NLS-1$ } else if (meters > 9.99f * mainUnitInMeters) { - return MessageFormat.format("{0,number,#.#} " + ctx.getString(mainUnitStr), ((float) meters) / mainUnitInMeters); //$NON-NLS-1$ + return MessageFormat.format("{0,number,#.#} " + ctx.getString(mainUnitStr), ((float) meters) / mainUnitInMeters).replace('\n', ' '); //$NON-NLS-1$ } else if (meters > 0.999f * mainUnitInMeters) { - return MessageFormat.format("{0,number,#.##} " + ctx.getString(mainUnitStr), ((float) meters) / mainUnitInMeters); //$NON-NLS-1$ + return MessageFormat.format("{0,number,#.##} " + ctx.getString(mainUnitStr), ((float) meters) / mainUnitInMeters).replace('\n', ' '); //$NON-NLS-1$ } else { if (mc == MetricsConstants.KILOMETERS_AND_METERS) { return ((int) (meters + 0.5)) + " " + ctx.getString(R.string.m); //$NON-NLS-1$ diff --git a/eclipse-compile/appcompat/res/drawable/abc_btn_default_mtrl_shape.xml b/eclipse-compile/appcompat/res/drawable/abc_btn_default_mtrl_shape.xml index c50d4b10f0..e5be8ea730 100644 --- a/eclipse-compile/appcompat/res/drawable/abc_btn_default_mtrl_shape.xml +++ b/eclipse-compile/appcompat/res/drawable/abc_btn_default_mtrl_shape.xml @@ -23,7 +23,7 @@ android:insetBottom="@dimen/abc_button_inset_vertical_material"> - + 0dp + 0dp diff --git a/eclipse-compile/appcompat/res/values/dimens.xml b/eclipse-compile/appcompat/res/values/dimens.xml index 8523508e88..0d6fe754e2 100644 --- a/eclipse-compile/appcompat/res/values/dimens.xml +++ b/eclipse-compile/appcompat/res/values/dimens.xml @@ -84,4 +84,5 @@ 48dp 12dp + 30dp diff --git a/eclipse-compile/appcompat/res/values/styles_base.xml b/eclipse-compile/appcompat/res/values/styles_base.xml index 87cf5b64c1..36760690d7 100644 --- a/eclipse-compile/appcompat/res/values/styles_base.xml +++ b/eclipse-compile/appcompat/res/values/styles_base.xml @@ -378,7 +378,8 @@