Fix focus search fragment

This commit is contained in:
Mauricio Colli 2017-07-10 00:25:10 -03:00
parent 31e5a7afb0
commit b603c178d1
1 changed files with 8 additions and 3 deletions

View File

@ -3,9 +3,14 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
android:focusableInTouchMode="true">
android:layout_height="match_parent">
<!-- Empty view to receive the focus when the edit text of the toolbar lose it -->
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:focusable="true"
android:focusableInTouchMode="true"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/result_list_view"