Change hint

This commit is contained in:
Benoit Marty 2020-10-02 22:21:13 +02:00
parent f5580212ea
commit 50f6a4732c
2 changed files with 4 additions and 3 deletions

View file

@ -83,6 +83,7 @@ class RoomMemberListFragment @Inject constructor(
private fun setupSearchView() {
searchView.isVisible = true
searchView.queryHint = getString(R.string.search_members_hint)
searchView.setOnQueryTextListener(object : SearchView.OnQueryTextListener {
override fun onQueryTextSubmit(query: String): Boolean {
return true

View file

@ -59,11 +59,11 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:background="@null"
android:visibility="gone"
tools:visibility="visible"
app:queryHint="@string/search_hint"
app:layout_constraintTop_toBottomOf="@id/roomSettingsToolbar"
android:background="@null" />
tools:queryHint="@string/search_hint"
tools:visibility="visible" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"