<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<android.support.constraint.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:background="@color/colorPrimary">
|
|
<ImageView
|
android:id="@+id/img_cancel"
|
android:layout_width="30dp"
|
android:layout_height="30dp"
|
android:elevation="@dimen/dimen2"
|
android:padding="@dimen/dimen8"
|
android:layout_margin="@dimen/dimen8"
|
android:src="@drawable/icon_back_white"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/edt_search"
|
tools:ignore="UnusedAttribute" />
|
|
<include
|
layout="@layout/layout_search_title"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/dimen16"
|
android:layout_marginBottom="@dimen/dimen16"
|
android:layout_marginEnd="@dimen/dimen16"
|
app:layout_constraintStart_toEndOf="@id/img_cancel"
|
app:layout_constraintEnd_toStartOf="@id/btn_search"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
<TextView
|
android:id="@+id/btn_search"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/search"
|
style="@style/TextButtonStyle"
|
android:visibility="gone"
|
android:paddingStart="@dimen/dimen16"
|
android:paddingEnd="@dimen/dimen16"
|
app:layout_constraintStart_toEndOf="@id/edt_search"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="@id/edt_search"
|
app:layout_constraintBottom_toBottomOf="@id/edt_search"/>
|
</android.support.constraint.ConstraintLayout>
|
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/recycler_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
app:layout_constraintTop_toTopOf="parent">
|
</android.support.v7.widget.RecyclerView>
|
|
</LinearLayout>
|