Remove half button

This commit is contained in:
vshcherb 2014-03-28 21:34:11 +01:00
parent 8736f8194c
commit 8bba2ef704

View file

@ -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 ;