From d2f1c6219f9711fc7384a915e2e80dd349a9a444 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 10 Dec 2014 01:20:37 +0100 Subject: [PATCH] Update action bar --- OsmAnd/src/net/osmand/plus/download/LocalIndexesFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/download/LocalIndexesFragment.java b/OsmAnd/src/net/osmand/plus/download/LocalIndexesFragment.java index 2b3d939484..63508a91ea 100644 --- a/OsmAnd/src/net/osmand/plus/download/LocalIndexesFragment.java +++ b/OsmAnd/src/net/osmand/plus/download/LocalIndexesFragment.java @@ -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);