<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/bg_main">
|
|
<View
|
style="@style/style_form_divider_line"
|
app:layout_constraintTop_toTopOf="parent" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="1px"
|
android:id="@+id/ll_search"
|
android:focusable="true"
|
android:focusableInTouchMode="true"
|
android:background="@color/white"
|
app:layout_constraintTop_toTopOf="parent">
|
<EditText
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:id="@+id/et_search"
|
android:layout_marginTop="8dp"
|
android:layout_marginBottom="8dp"
|
android:layout_weight="1"
|
android:hint="请输入城市名字"
|
android:background="@drawable/bg_grey_4dp"
|
android:textSize="13sp"
|
android:textColor="@color/textColor"
|
android:paddingTop="5dp"
|
android:paddingBottom="5dp"
|
android:paddingStart="9dp"
|
android:paddingEnd="9dp"
|
android:singleLine="true"
|
android:inputType="text"
|
android:imeOptions="actionSearch"
|
android:layout_marginStart="16dp"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:text="取消"
|
android:textSize="14sp"
|
android:textColor="@color/textColor66"
|
android:paddingStart="16dp"
|
android:paddingEnd="16dp"
|
android:id="@+id/tv_cancel"
|
android:paddingTop="5dp"
|
android:paddingBottom="5dp"/>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1px"
|
android:background="@color/black"
|
app:layout_constraintTop_toBottomOf="@id/ll_search"/>
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/bg_main"
|
android:text="当前选择:未选择"
|
app:layout_constraintTop_toBottomOf="@id/ll_search"
|
android:layout_marginTop="1px"
|
android:paddingStart="14dp"
|
android:paddingTop="16dp"
|
style="@style/style_common_text"
|
android:paddingBottom="3dp"
|
android:id="@+id/tv_current"/>
|
<androidx.recyclerview.widget.RecyclerView
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:id="@+id/lv_city"
|
app:layout_constraintTop_toBottomOf="@id/tv_current"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
<com.future.driver.utils.view.WaveSideBar
|
android:id="@+id/side_bar"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toTopOf="@id/lv_city"
|
app:layout_constraintBottom_toBottomOf="@id/lv_city"
|
android:paddingLeft="8dp"
|
android:paddingRight="8dp"
|
app:sidebar_text_color="@color/colorPrimary"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|