Skip to content

Commit

Permalink
switch showAsAction to ifRoom as always is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
edeso committed Feb 1, 2023
1 parent 120d17a commit c2d896c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/menu/browser.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<item android:id="@+id/search"
android:title="@string/search"
android:icon="@drawable/ic_search_white_24dp"
app:showAsAction="always"
app:showAsAction="ifRoom"
app:actionViewClass="androidx.appcompat.widget.SearchView"/>
<item android:id="@+id/filter"
android:title="@string/menu_browser_filter"
android:icon="@drawable/ic_filter_list_white_24dp"
app:showAsAction="always">
app:showAsAction="ifRoom">
<menu android:id="@+id/menu_browser_filter">
<group android:checkableBehavior="single">
<item android:id="@+id/menu_browser_filter_all"
Expand Down

0 comments on commit c2d896c

Please sign in to comment.