From 14c6c1abd86de4f808ef34b88c7e2faef316a5d8 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 15 Mar 2015 01:45:16 +0100 Subject: [PATCH] Fix bugs --- OsmAnd/res/layout/main.xml | 9 ++-- OsmAnd/res/layout/map_hud_top.xml | 42 +++++++++---------- OsmAnd/res/layout/map_view_on_dashboard.xml | 2 +- .../osmand/plus/activities/MapActivity.java | 4 +- .../activities/actions/StartGPSStatus.java | 6 +-- .../osmand/plus/dashboard/DashboardOnMap.java | 4 +- .../osmand/plus/views/MapControlsLayer.java | 3 +- .../osmand/plus/views/OsmandMapTileView.java | 34 +++++---------- .../plus/views/controls/RulerControl.java | 18 ++++---- 9 files changed, 51 insertions(+), 71 deletions(-) diff --git a/OsmAnd/res/layout/main.xml b/OsmAnd/res/layout/main.xml index cd90ad0af8..a0d121230d 100644 --- a/OsmAnd/res/layout/main.xml +++ b/OsmAnd/res/layout/main.xml @@ -5,11 +5,9 @@ android:layout_height="match_parent" > @@ -33,7 +31,7 @@ android:layout_height="fill_parent" android:contentDescription="@string/shared_string_map" android:visibility="gone" /> - + - + - @@ -8,9 +7,9 @@ @@ -36,8 +35,7 @@ android:text="Long Street Name" android:textColor="@color/color_black" android:textSize="@dimen/map_widget_text_size" - android:textStyle="bold" - android:visibility="gone" > + android:textStyle="bold" > + android:orientation="vertical" > + android:visibility="gone" /> @@ -154,40 +151,41 @@ android:layout_weight="0.6" > - + android:layout_weight="0.4" > - - - + --> + - - + diff --git a/OsmAnd/res/layout/map_view_on_dashboard.xml b/OsmAnd/res/layout/map_view_on_dashboard.xml index 4197af279b..53a1fed990 100644 --- a/OsmAnd/res/layout/map_view_on_dashboard.xml +++ b/OsmAnd/res/layout/map_view_on_dashboard.xml @@ -4,7 +4,7 @@ android:layout_height="fill_parent" >