Skip to content
Snippets Groups Projects
Commit af4e9f95 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Geoffrey Métais
Browse files

Fix search empty state and search item focus state

parent bf23121f
No related branches found
No related tags found
1 merge request!95Fix search empty state and search item focus state
Pipeline #6691 passed with stage
in 4 minutes and 35 seconds
......@@ -23,7 +23,7 @@
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:padding="10dp"
android:clickable="true"
android:focusable="true"
android:background="@{bgColor}"
......
......@@ -45,6 +45,7 @@ open class SearchActivity : AppCompatActivity(), TextWatcher, TextView.OnEditorA
val intent = intent
binding = DataBindingUtil.setContentView(this, R.layout.search_activity)
binding.handler = clickHandler
binding.searchAggregate = SearchAggregate()
medialibrary = VLCApplication.mlInstance
if (Intent.ACTION_SEARCH == intent.action || "com.google.android.gms.actions.SEARCH_ACTION" == intent.action) {
val query = intent.getStringExtra(SearchManager.QUERY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment