show more items at the top menus
This commit is contained in:
parent
c243edc881
commit
703b374dc9
|
@ -6,17 +6,17 @@
|
||||||
android:icon="@drawable/ic_search_vector"
|
android:icon="@drawable/ic_search_vector"
|
||||||
android:title="@string/search"
|
android:title="@string/search"
|
||||||
app:actionViewClass="androidx.appcompat.widget.SearchView"
|
app:actionViewClass="androidx.appcompat.widget.SearchView"
|
||||||
app:showAsAction="collapseActionView|ifRoom"/>
|
app:showAsAction="collapseActionView|always"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/sort"
|
android:id="@+id/sort"
|
||||||
android:icon="@drawable/ic_sort_vector"
|
android:icon="@drawable/ic_sort_vector"
|
||||||
android:title="@string/sort_by"
|
android:title="@string/sort_by"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/filter"
|
android:id="@+id/filter"
|
||||||
android:icon="@drawable/ic_filter_vector"
|
android:icon="@drawable/ic_filter_vector"
|
||||||
android:title="@string/filter"
|
android:title="@string/filter"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/dialpad"
|
android:id="@+id/dialpad"
|
||||||
android:icon="@drawable/ic_dialpad_vector"
|
android:icon="@drawable/ic_dialpad_vector"
|
||||||
|
|
|
@ -5,19 +5,19 @@
|
||||||
android:id="@+id/save"
|
android:id="@+id/save"
|
||||||
android:icon="@drawable/ic_check_vector"
|
android:icon="@drawable/ic_check_vector"
|
||||||
android:title="@string/save"
|
android:title="@string/save"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/share"
|
android:id="@+id/share"
|
||||||
android:icon="@drawable/ic_share_vector"
|
android:icon="@drawable/ic_share_vector"
|
||||||
android:title="@string/share"
|
android:title="@string/share"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
|
||||||
android:id="@+id/open_with"
|
|
||||||
android:title="@string/open_with"
|
|
||||||
app:showAsAction="never"/>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/delete"
|
android:id="@+id/delete"
|
||||||
android:icon="@drawable/ic_delete_vector"
|
android:icon="@drawable/ic_delete_vector"
|
||||||
android:title="@string/delete"
|
android:title="@string/delete"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="always"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/open_with"
|
||||||
|
android:title="@string/open_with"
|
||||||
|
app:showAsAction="never"/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
@ -5,19 +5,19 @@
|
||||||
android:id="@+id/edit"
|
android:id="@+id/edit"
|
||||||
android:icon="@drawable/ic_edit_vector"
|
android:icon="@drawable/ic_edit_vector"
|
||||||
android:title="@string/edit_contact"
|
android:title="@string/edit_contact"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
<item
|
||||||
android:id="@+id/share"
|
android:id="@+id/share"
|
||||||
android:icon="@drawable/ic_share_vector"
|
android:icon="@drawable/ic_share_vector"
|
||||||
android:title="@string/share"
|
android:title="@string/share"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="always"/>
|
||||||
<item
|
|
||||||
android:id="@+id/open_with"
|
|
||||||
android:title="@string/open_with"
|
|
||||||
app:showAsAction="never"/>
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/delete"
|
android:id="@+id/delete"
|
||||||
android:icon="@drawable/ic_delete_vector"
|
android:icon="@drawable/ic_delete_vector"
|
||||||
android:title="@string/delete"
|
android:title="@string/delete"
|
||||||
app:showAsAction="ifRoom"/>
|
app:showAsAction="always"/>
|
||||||
|
<item
|
||||||
|
android:id="@+id/open_with"
|
||||||
|
android:title="@string/open_with"
|
||||||
|
app:showAsAction="never"/>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
Loading…
Reference in New Issue