Remove manual menu creation from some fragments
Doing this programmatically is just a no-go when themes are being set in some other places (the toolbar is using a custom theme, in this case), so, instead of hunting down the proper theme, just let the system do its work.
This commit is contained in:
parent
7baa4420ef
commit
52d8f94213
4 changed files with 15 additions and 21 deletions
8
app/src/main/res/menu/menu_chooser_fragment.xml
Normal file
8
app/src/main/res/menu/menu_chooser_fragment.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/menu_item_restore_default"
|
||||
android:title="@string/restore_defaults"
|
||||
android:icon="@drawable/ic_settings_backup_restore"
|
||||
app:showAsAction="always" />
|
||||
</menu>
|
||||
Loading…
Add table
Add a link
Reference in a new issue