diff options
author | Arne Schwabe <arne@rfc2549.org> | 2019-11-22 11:24:52 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2019-11-22 11:24:52 +0100 |
commit | 9145688099385694e9b73727c24e9e35de1df2af (patch) | |
tree | f77322dc5e7e45de75d427137b2ccb10e9705e42 /main/src/ui/res/menu | |
parent | 3b4ce6d5588c87bcc621a0054166c81de31d63aa (diff) |
Fix issues with search widget
Diffstat (limited to 'main/src/ui/res/menu')
-rw-r--r-- | main/src/ui/res/menu/allowed_apps.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/main/src/ui/res/menu/allowed_apps.xml b/main/src/ui/res/menu/allowed_apps.xml index d4f2a02a..f357be69 100644 --- a/main/src/ui/res/menu/allowed_apps.xml +++ b/main/src/ui/res/menu/allowed_apps.xml @@ -1,14 +1,14 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- +<?xml version="1.0" encoding="utf-8"?><!-- ~ Copyright (c) 2012-2015 Arne Schwabe ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt --> -<menu xmlns:android="http://schemas.android.com/apk/res/android"> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> <item - android:id="@+id/app_search_widget" - android:actionViewClass="android.widget.SearchView" - android:icon="@drawable/ic_search_white_24dp" - android:showAsAction="always" - android:title="@string/Search"/> + android:id="@+id/app_search_widget" + android:icon="@drawable/ic_search_white_24dp" + app:showAsAction="always" + android:title="@string/Search" + app:actionViewClass="androidx.appcompat.widget.SearchView" /> </menu>
\ No newline at end of file |