Update action bar
This commit is contained in:
parent
cff6781ff0
commit
d2f1c6219f
1 changed files with 1 additions and 1 deletions
|
@ -517,7 +517,7 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment {
|
|||
MenuItem item;
|
||||
if (j + 1 >= max && optionsMenuAdapter.length() > max) {
|
||||
if (split == null) {
|
||||
split = menu.addSubMenu(0, 1, 0, R.string.default_buttons_other_actions);
|
||||
split = menu.addSubMenu(0, 1, j + 1, R.string.default_buttons_other_actions);
|
||||
split.setIcon(isLightActionBar() ? R.drawable.abs__ic_menu_moreoverflow_holo_light
|
||||
: R.drawable.abs__ic_menu_moreoverflow_holo_dark);
|
||||
split.getItem().setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
|
||||
|
|
Loading…
Reference in a new issue