mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-06-25 14:43:20 +00:00
![Mauricio Colli](/assets/img/avatar_default.png)
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.
9 lines
338 B
XML
9 lines
338 B
XML
<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>
|