forked from upstream-mirrors/OpenTracks
8ac7330c9d
- close contextual menu after an item is selected - collapse the search widget after a search request is sent - show keyboard by default for the editors - in the search list, if edit or delete is selected in the contextual menu, close the search list since its content will get changed. - enable QueryRefinement in search widget - do not call super.onNewIntent - update search.xml to include imeOptions, queryAfterZeroResults, and set searchSuggestionThreshold to 1.
14 lines
655 B
XML
14 lines
655 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:hint="@string/search_hint"
|
|
android:imeOptions="actionSearch"
|
|
android:includeInGlobalSearch="true"
|
|
android:label="@string/my_tracks_app_name"
|
|
android:queryAfterZeroResults="true"
|
|
android:searchSettingsDescription="@string/search_global_description"
|
|
android:searchSuggestAuthority="com.google.android.maps.mytracks.search"
|
|
android:searchSuggestSelection=" ? "
|
|
android:searchSuggestThreshold="1"
|
|
android:voicePromptText="@string/search_voice_prompt"
|
|
android:voiceSearchMode="showVoiceSearchButton|launchRecognizer" />
|