Can anyone help me with this? I am working with a SearchView in order to look for places of a list. I would like to change the background color and also the icon of the action button of the soft keyboard. Keep in mind that the SearchView is not in the toolbar.
This is my code:
XML:
<androidx.appcompat.widget.SearchView
android:id="@+id/search_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:theme="@style/AppSearchView"
android:imeOptions="actionSearch|flagNoExtractUi|flagNoFullscreen"
android:inputType="text"
app:queryHint="Search something..."/>