Update Edit poi activity
This commit is contained in:
parent
e81f6cd636
commit
fc9e43ac8c
3 changed files with 1548 additions and 1548 deletions
|
@ -95,7 +95,7 @@ public class EditPOIFilterActivity extends OsmandListActivity {
|
||||||
@Override
|
@Override
|
||||||
public boolean onCreateOptionsMenu(Menu menu) {
|
public boolean onCreateOptionsMenu(Menu menu) {
|
||||||
createMenuItem(menu, SAVE_FILTER, R.string.edit_filter_save_as_menu_item,
|
createMenuItem(menu, SAVE_FILTER, R.string.edit_filter_save_as_menu_item,
|
||||||
R.drawable.ic_action_gsave_dark ,R.drawable.ic_action_gsave_light,
|
R.drawable.ic_action_gsave_light, R.drawable.ic_action_gsave_dark ,
|
||||||
MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
||||||
createMenuItem(menu, FILTER, R.string.filter_current_poiButton,
|
createMenuItem(menu, FILTER, R.string.filter_current_poiButton,
|
||||||
0, 0,
|
0, 0,
|
||||||
|
@ -103,7 +103,7 @@ public class EditPOIFilterActivity extends OsmandListActivity {
|
||||||
MenuItem.SHOW_AS_ACTION_WITH_TEXT | MenuItem.SHOW_AS_ACTION_ALWAYS);
|
MenuItem.SHOW_AS_ACTION_WITH_TEXT | MenuItem.SHOW_AS_ACTION_ALWAYS);
|
||||||
if(!filter.isStandardFilter()){
|
if(!filter.isStandardFilter()){
|
||||||
createMenuItem(menu, DELETE_FILTER, R.string.edit_filter_delete_menu_item,
|
createMenuItem(menu, DELETE_FILTER, R.string.edit_filter_delete_menu_item,
|
||||||
R.drawable.ic_action_gdiscard_dark,R.drawable.ic_action_gdiscard_light,
|
R.drawable.ic_action_gdiscard_light, R.drawable.ic_action_gdiscard_dark,
|
||||||
MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
||||||
}
|
}
|
||||||
return super.onCreateOptionsMenu(menu);
|
return super.onCreateOptionsMenu(menu);
|
||||||
|
|
Loading…
Reference in a new issue