Files
MoGoEagleEye/modules/mogo-module-search/src/main/res/layout/include_search_bar.xml
wangcongtao 3a8f39678c opt
2020-05-25 14:36:08 +08:00

41 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/ll_navi_search"
android:layout_width="@dimen/module_search_et_width"
android:layout_height="@dimen/module_search_et_hight"
android:background="@drawable/shape_round_gray"
android:gravity="center_vertical"
android:orientation="horizontal"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:showIn="@layout/fragment_search"
>
<ImageView
android:layout_width="@dimen/module_search_iv_back_hight"
android:id="@+id/iv_navi_back"
android:layout_height="@dimen/module_search_iv_back_hight"
android:layout_marginLeft="@dimen/module_search_iv_back_margin_left"
android:layout_marginRight="@dimen/module_search_iv_back_margin_right"
android:src="@mipmap/icon_back"
/>
<EditText
android:layout_width="0dp"
android:singleLine="true"
android:layout_marginRight="@dimen/module_search_btn_width"
android:id="@+id/et_navi_search"
android:background="@null"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"
android:textSize="@dimen/module_search_et_text_size"
android:imeOptions="actionDone"
android:hint="@string/hint_map_search"
android:textColor="@color/white"
android:textColorHint="@color/white_60"
/>
</LinearLayout>