Improve search

This commit is contained in:
Antonio Cappiello 2020-11-25 15:12:07 +01:00
parent 4848d4f3d0
commit 6c26c6d889
17 changed files with 243 additions and 69 deletions

View file

@ -11,7 +11,7 @@
android:paddingStart="8dp"
android:paddingTop="8dp"
android:paddingEnd="8dp"
app:areSuggestionsDisabled="true"
app:areSuggestionsDisabled="false"
app:cardBackgroundColor="@color/cardColor"
app:cardCornerRadius="4dp"
app:cardElevation="2dp"
@ -28,7 +28,13 @@
app:queryInputHint="@string/search_hint"
app:queryInputHintColor="@color/hintTextColor"
app:queryInputTextColor="@color/hintTextColor"
app:shouldDimBehind="false" />
app:shouldDimBehind="true"
app:suggestionIconColor="@color/suggestionIconColor"
app:suggestionRecentSearchIconColor="@color/suggestionIconColor"
app:suggestionSearchSuggestionIconColor="@color/suggestionIconColor"
app:suggestionTextColor="@color/suggestionTextColor"
app:suggestionSelectedTextColor="@color/suggestionSelectedTextColor" />
<LinearLayout
android:layout_width="match_parent"