From 8bba2ef704a5969d4e939e8686a64f446fa7b85a Mon Sep 17 00:00:00 2001 From: vshcherb Date: Fri, 28 Mar 2014 21:34:11 +0100 Subject: [PATCH] Remove half button --- .../net/osmand/plus/views/controls/SmallMapMenuControls.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/controls/SmallMapMenuControls.java b/OsmAnd/src/net/osmand/plus/views/controls/SmallMapMenuControls.java index 32af34e4c4..a72f7acf7b 100644 --- a/OsmAnd/src/net/osmand/plus/views/controls/SmallMapMenuControls.java +++ b/OsmAnd/src/net/osmand/plus/views/controls/SmallMapMenuControls.java @@ -20,7 +20,7 @@ public class SmallMapMenuControls extends MapControls { @Override public void showControls(FrameLayout parent) { - backToMenuButton = addButton(parent, R.string.backToMenu, R.drawable.map_btn_hmenu); + backToMenuButton = addButton(parent, R.string.backToMenu, R.drawable.map_btn_menu); mapActivity.accessibleContent.add(backToMenuButton); backToMenuButton.setOnClickListener(new View.OnClickListener() { @Override @@ -41,7 +41,7 @@ public class SmallMapMenuControls extends MapControls { public int getWidth() { if (width == 0) { - Drawable buttonDrawable = mapActivity.getResources().getDrawable(R.drawable.map_btn_hmenu); + Drawable buttonDrawable = mapActivity.getResources().getDrawable(R.drawable.map_btn_menu); width = buttonDrawable.getMinimumWidth(); } return width ;