SearchView not worked
Closed this issue · 1 comments
TheKrushik commented
I have this attribute in SearchView:
android:queryHint="@string/search_hint"
he doesn't switch language
<SearchView
android:id="@+id/sw_search"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:iconifiedByDefault="false"
android:inputType="textCapSentences"
android:queryBackground="@android:color/transparent"
android:queryHint="@string/search_hint"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/quantityStringTextView" />
But,
EditText with attribute:
android:hint="@string/search_hint"
works well
B3nedikt commented
This has been fixed with updates to ViewPump 4.0.7 & Reword 4.0.1.
Just update these:
// Manages the Locale used by the app
implementation 'dev.b3nedikt.applocale:applocale:2.0.3'
// Needed to intercept view inflation
implementation 'dev.b3nedikt.viewpump:viewpump:4.0.7'
// Allows to update the text of views at runtime without recreating the activity
implementation 'dev.b3nedikt.reword:reword:4.0.1'