now always displaying both refresh and search. closes #633

This commit is contained in:
Tom Hennen 2015-03-15 15:24:30 -04:00
parent 14e047a898
commit 66785b3551
4 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ public class MenuItemUtils extends de.danoeh.antennapod.core.menuhandler.MenuIte
public static MenuItem addSearchItem(Menu menu, SearchView searchView) {
MenuItem item = menu.add(Menu.NONE, R.id.search_item, Menu.NONE, R.string.search_label);
MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_IF_ROOM);
MenuItemCompat.setShowAsAction(item, MenuItemCompat.SHOW_AS_ACTION_ALWAYS);
MenuItemCompat.setActionView(item, searchView);
return item;
}

View File

@ -7,7 +7,7 @@
android:icon="?attr/navigation_refresh"
android:menuCategory="container"
android:title="@string/refresh_label"
custom:showAsAction="ifRoom">
custom:showAsAction="always">
</item>
<item
android:id="@+id/refresh_complete_item"

View File

@ -7,7 +7,7 @@
android:id="@+id/refresh_item"
android:title="@string/refresh_label"
android:menuCategory="container"
custom:showAsAction="ifRoom"
custom:showAsAction="always"
android:icon="?attr/navigation_refresh"/>
<item

View File

@ -7,7 +7,7 @@
android:id="@+id/refresh_item"
android:title="@string/refresh_label"
android:menuCategory="container"
custom:showAsAction="ifRoom"
custom:showAsAction="always"
android:icon="?attr/navigation_refresh"/>
<item