Remove half button
This commit is contained in:
parent
8736f8194c
commit
8bba2ef704
1 changed files with 2 additions and 2 deletions
|
@ -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 ;
|
||||
|
|
Loading…
Reference in a new issue