mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Merge pull request #1956 from Bnyro/master
Fill Search Controller When Tapping on Arrow
This commit is contained in:
commit
c2895abf8f
@ -30,6 +30,9 @@ class SearchSuggestionsAdapter(
|
|||||||
root.setOnClickListener {
|
root.setOnClickListener {
|
||||||
searchView.setQuery(suggestion, true)
|
searchView.setQuery(suggestion, true)
|
||||||
}
|
}
|
||||||
|
arrow.setOnClickListener {
|
||||||
|
searchView.setQuery(suggestion, false)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
android:id="@+id/arrow"
|
android:id="@+id/arrow"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||||||
android:padding="5dp"
|
android:padding="5dp"
|
||||||
android:src="@drawable/ic_arrow_up_left"
|
android:src="@drawable/ic_arrow_up_left"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user