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:
Mauricio Colli 2021-12-08 09:49:52 -03:00 committed by Stypox
parent 7baa4420ef
commit 52d8f94213
4 changed files with 15 additions and 21 deletions

View 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>