diff options
Diffstat (limited to 'res/xml/searchable.xml')
-rw-r--r-- | res/xml/searchable.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml new file mode 100644 index 00000000..bb578c62 --- /dev/null +++ b/res/xml/searchable.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- Note: This defines the UI for the "Go To" UI, which uses the search manager UI, but + is actually used to enter Uri's to load and display. --> + +<searchable xmlns:android="http://schemas.android.com/apk/res/android" + android:icon="@drawable/ic_search_category_browser" + android:label="@string/search_label" + android:hint="@string/search_hint" + android:searchButtonText="@string/search_button_text" + android:searchMode="queryRewriteFromData" + android:voiceSearchMode="showVoiceSearchButton|launchWebSearch" + android:inputType="textUri" + android:imeOptions="actionGo" + + android:searchSuggestAuthority="browser" + android:searchSuggestSelection="url LIKE ?" + android:searchSuggestIntentAction="android.intent.action.VIEW" +/> |