Fix regions and add edit device color

This commit is contained in:
vshcherb 2014-05-27 02:35:59 +02:00
parent fa778d890c
commit 89a67592c4

View file

@ -330,7 +330,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
MenuItem.SHOW_AS_ACTION_IF_ROOM); MenuItem.SHOW_AS_ACTION_IF_ROOM);
/// ///
if(device != null) { if(device != null) {
createMenuItem(menu, SETTINGS_ID, R.string.settings, R.drawable.ic_action_settings_light, R.drawable.ic_action_sail_boat_dark, createMenuItem(menu, SETTINGS_ID, R.string.settings, R.drawable.ic_action_settings_light, R.drawable.ic_action_settings_dark,
MenuItem.SHOW_AS_ACTION_IF_ROOM); MenuItem.SHOW_AS_ACTION_IF_ROOM);
} }
if(group != null) { if(group != null) {
@ -995,6 +995,7 @@ public class OsMoGroupsActivity extends OsmandExpandableListActivity implements
} }
}); });
bld.setNegativeButton(R.string.default_buttons_no, null); bld.setNegativeButton(R.string.default_buttons_no, null);
bld.show();
} }
class DirectionDrawable extends Drawable { class DirectionDrawable extends Drawable {