now always displaying both refresh and search. closes #633
This commit is contained in:
parent
14e047a898
commit
66785b3551
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue