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

68 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:paddingBottom="@dimen/dp_60"
android:paddingLeft="@dimen/dp_60"
android:paddingRight="@dimen/dp_60"
android:paddingTop="@dimen/dp_40"
>
<LinearLayout
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"
/>
<TextView
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>
<TextView
android:layout_width="@dimen/module_search_btn_width"
android:text="@string/set_as_home_navi"
android:layout_marginRight="@dimen/module_search_btn_right_margin"
android:gravity="center"
android:id="@+id/tv_set_as_home"
android:textColor="@color/white"
android:textSize="@dimen/module_search_txt_big"
android:background="@drawable/shape_round_blue_grident"
app:layout_constraintRight_toRightOf="@+id/ll_navi_search"
app:layout_constraintTop_toTopOf="@+id/ll_navi_search"
app:layout_constraintBottom_toBottomOf="@+id/ll_navi_search"
android:layout_height="@dimen/module_search_btn_height"/>
</androidx.constraintlayout.widget.ConstraintLayout>