<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<androidx.core.widget.NestedScrollView
|
android:layout_width="match_parent"
|
android:paddingBottom="60dp"
|
android:clipToPadding="false"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/tv_none_info"
|
android:layout_width="match_parent"
|
android:visibility="gone"
|
android:layout_height="wrap_content"
|
android:background="#FF6666"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:paddingTop="9dp"
|
android:paddingBottom="9dp"
|
android:text="这里是拒绝信息,这里是拒绝信息,这里是拒绝信息,这里是拒绝
|
信息,"
|
android:textColor="#ffffffff"
|
android:textSize="12sp"
|
/>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_name_car"
|
android:layout_toStartOf="@+id/tv_car_type"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="13dp"
|
android:layout_marginTop="9dp"
|
android:textColor="#ff111111"
|
android:textSize="14sp"
|
android:textStyle="bold"
|
tools:text="长安2016年款245四驱运动型" />
|
|
<TextView
|
android:id="@+id/tv_car_type"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_marginStart="13dp"
|
android:layout_marginTop="11dp"
|
android:layout_marginEnd="12dp"
|
android:background="@drawable/bg_orange_2"
|
android:paddingStart="5dp"
|
android:paddingTop="1dp"
|
android:paddingEnd="5dp"
|
android:paddingBottom="1dp"
|
android:textColor="#fffa7c25"
|
android:textSize="10sp"
|
tools:text="非营运车辆" />
|
|
<TextView
|
android:id="@+id/tv_car_money_more"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/tv_name_car"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="8dp"
|
android:textColor="#ffff3d3d"
|
android:textSize="18sp"
|
tools:text="9.85万" />
|
|
<TextView
|
android:id="@+id/tv_money_hint"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/tv_car_money_more"
|
android:layout_alignBottom="@+id/tv_car_money_more"
|
android:layout_marginStart="13dp"
|
android:layout_toRightOf="@+id/tv_car_money_more"
|
android:gravity="center_vertical"
|
android:textColor="#99000000"
|
android:textSize="12sp"
|
tools:text="新车含税价格:27.45万/不包含过户费" />
|
|
<include
|
layout="@layout/include_line"
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_below="@+id/tv_car_money_more"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="14dp"
|
android:layout_marginEnd="12dp" />
|
|
</RelativeLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_more_info"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="14dp"
|
android:text="车辆档案"
|
android:textColor="#ff000000"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
<include layout="@layout/include_weight_width" />
|
|
<TextView
|
android:id="@+id/tv_more"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginEnd="14dp"
|
android:drawableEnd="@mipmap/right_arrow"
|
android:drawablePadding="6dp"
|
android:text="更多信息"
|
android:textColor="#ff000000"
|
android:textSize="12sp" />
|
|
</LinearLayout>
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view_car_info"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
<include layout="@layout/include_line_left_12" />
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_mar_info"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="12dp"
|
android:text="商家信息"
|
android:textColor="#ff000000"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:id="@+id/tv_name_car_people"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/tv_mar_info"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="8dp"
|
android:textColor="#ff000000"
|
android:textSize="14sp"
|
tools:text="王先生" />
|
|
<TextView
|
android:id="@+id/rv_statue"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/tv_name_car_people"
|
android:layout_marginStart="12dp"
|
android:layout_toRightOf="@+id/tv_name_car_people"
|
android:drawableStart="@mipmap/renzheng_car"
|
android:drawablePadding="2dp"
|
android:textColor="#ff00bf30"
|
android:textSize="12sp"
|
android:text="该用户已通过认证" />
|
|
<TextView
|
android:id="@+id/tv_sites"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/tv_name_car_people"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="5dp"
|
android:text="联系地址:"
|
android:textColor="#ff000000"
|
android:textSize="11sp" />
|
|
|
<include
|
layout="@layout/include_line_left_12"
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_below="@+id/tv_sites"
|
android:layout_marginTop="14dp" />
|
|
<ImageView
|
android:id="@+id/call_phone"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/rv_statue"
|
android:layout_alignParentEnd="true"
|
android:layout_marginEnd="14dp"
|
android:src="@mipmap/call_phone" />
|
|
</RelativeLayout>
|
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="12dp"
|
android:text="车况详情"
|
android:textColor="#ff000000"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view_car_img"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp" />
|
|
<TextView
|
android:id="@+id/tv_desprite"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:layout_marginTop="12dp"
|
android:text="这里是描述信息这里是描述信息这里是描述信息这里是描
|
述信息这里是描述信息这里是描述信息这里是描述信息这
|
里是描述信息"
|
android:textColor="#ff696969"
|
android:textSize="14sp"
|
/>
|
|
<include
|
layout="@layout/include_line_left_12"
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_marginTop="14dp" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="12dp"
|
android:text="常见问题"
|
android:textColor="#ff000000"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
<WebView
|
android:id="@+id/web_wt"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp"
|
android:layout_marginBottom="12dp" />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<RelativeLayout
|
android:id="@+id/rl_other"
|
android:layout_alignParentBottom="true"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="#FFA145"
|
android:gravity="center">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="40dp"
|
android:drawableStart="@mipmap/car_phone"
|
android:drawablePadding="8dp"
|
android:gravity="center"
|
android:text="咨询车况"
|
android:textColor="#ffffffff"
|
android:textSize="16sp" />
|
|
|
</RelativeLayout>
|
|
|
<LinearLayout
|
android:id="@+id/ll_mine"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_alignParentBottom="true"
|
android:gravity="center">
|
|
<TextView
|
android:id="@+id/tv_sh"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:background="#DCDCDC"
|
android:layout_height="match_parent"
|
android:gravity="center"
|
android:text="审核中"
|
android:visibility="gone"
|
android:textStyle="bold"
|
android:textColor="#ff393939"
|
android:textSize="16sp"
|
/>
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:background="#DCDCDC"
|
android:visibility="gone"
|
android:id="@+id/tv_edit"
|
android:layout_height="match_parent"
|
android:gravity="center"
|
android:text="编辑"
|
android:textStyle="bold"
|
android:textColor="#ff393939"
|
android:textSize="16sp"
|
/>
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:visibility="gone"
|
android:background="@drawable/bg_main_back"
|
android:layout_height="match_parent"
|
android:gravity="center"
|
android:text="下架"
|
android:id="@+id/tv_down"
|
android:textStyle="bold"
|
android:textColor="@color/white"
|
android:textSize="16sp"
|
/>
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:visibility="gone"
|
android:id="@+id/tv_up"
|
android:background="@drawable/bg_main_back"
|
android:layout_height="match_parent"
|
android:gravity="center"
|
android:text="上架"
|
android:textStyle="bold"
|
android:textColor="@color/white"
|
android:textSize="16sp"
|
/>
|
|
|
|
|
</LinearLayout>
|
|
|
</RelativeLayout>
|