<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:background="@color/bg_main"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:background="@color/white"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="50dp"
|
android:background="@color/white"
|
android:gravity="center_vertical"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:text="当前车辆"
|
android:textColor="#ff333333"
|
android:textSize="14sp" />
|
|
<include layout="@layout/include_weight_width" />
|
|
<TextView
|
android:id="@+id/tv_car_info"
|
android:layout_width="wrap_content"
|
android:layout_height="50dp"
|
android:background="@color/white"
|
android:drawablePadding="@dimen/dp_10"
|
android:gravity="center_vertical"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
tools:text="川A12345-广汽传祺GS4 白色"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
|
|
</LinearLayout>
|
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:padding="14dp"
|
android:text="当前可更换车辆"
|
android:textColor="#ff333333"
|
android:textSize="15sp" />
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/rcy_car"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"
|
android:background="@color/white" />
|
|
|
<TextView
|
android:id="@+id/tv_add_car"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginBottom="14dp"
|
android:background="@drawable/bg_login"
|
android:gravity="center"
|
android:text="添加车辆"
|
android:textColor="#ffffffff"
|
android:textSize="14sp" />
|
|
</LinearLayout>
|