160 lines
6.8 KiB
XML
160 lines
6.8 KiB
XML
<?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="wrap_content"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:id="@+id/alert_choice_vehicle"
|
|
android:background="@drawable/bg_bai">
|
|
<TextView
|
|
android:layout_marginTop="@dimen/dp_34"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="选择车辆"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_16"
|
|
android:textStyle="bold"
|
|
android:layout_gravity="center"
|
|
/>
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/box"
|
|
android:layout_marginTop="@dimen/dp_15"
|
|
android:layout_marginLeft="@dimen/dp_19"
|
|
android:layout_marginRight="@dimen/dp_19"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/dp_8"
|
|
app:cardBackgroundColor="#F8F8F8"
|
|
android:visibility="gone">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
android:layout_marginBottom="@dimen/dp_14"
|
|
android:layout_marginLeft="@dimen/dp_16"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="豫A·6M888(空闲中)"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_16"
|
|
/>
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/choice"
|
|
android:layout_marginRight="@dimen/dp_16"
|
|
android:layout_width="@dimen/dp_12"
|
|
android:layout_height="@dimen/dp_12"
|
|
app:cardCornerRadius="@dimen/dp_6"
|
|
app:cardBackgroundColor="#333333"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentRight="true"
|
|
app:cardElevation="@dimen/dp_0"/>
|
|
</RelativeLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/box2"
|
|
android:layout_marginTop="@dimen/dp_1"
|
|
android:layout_marginLeft="@dimen/dp_19"
|
|
android:layout_marginRight="@dimen/dp_19"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/dp_8"
|
|
app:cardBackgroundColor="#F8F8F8"
|
|
android:visibility="gone">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:id="@+id/name2"
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
android:layout_marginBottom="@dimen/dp_14"
|
|
android:layout_marginLeft="@dimen/dp_16"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="豫A·6M888(空闲中)"
|
|
android:textColor="#333333"
|
|
android:textSize="@dimen/sp_16"
|
|
/>
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/choice2"
|
|
android:layout_marginRight="@dimen/dp_16"
|
|
android:layout_width="@dimen/dp_12"
|
|
android:layout_height="@dimen/dp_12"
|
|
app:cardCornerRadius="@dimen/dp_6"
|
|
app:cardBackgroundColor="#333333"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentRight="true"
|
|
app:cardElevation="@dimen/dp_0"/>
|
|
</RelativeLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/box3"
|
|
android:layout_marginTop="@dimen/dp_1"
|
|
android:layout_marginLeft="@dimen/dp_19"
|
|
android:layout_marginRight="@dimen/dp_19"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardElevation="0dp"
|
|
app:cardCornerRadius="@dimen/dp_8"
|
|
app:cardBackgroundColor="#F8F8F8"
|
|
android:visibility="gone">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:id="@+id/name3"
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
android:layout_marginBottom="@dimen/dp_14"
|
|
android:layout_marginLeft="@dimen/dp_16"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="豫A·6M888(空闲中)"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_16"
|
|
/>
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/choice3"
|
|
android:layout_marginRight="@dimen/dp_16"
|
|
android:layout_width="@dimen/dp_12"
|
|
android:layout_height="@dimen/dp_12"
|
|
app:cardCornerRadius="@dimen/dp_6"
|
|
app:cardBackgroundColor="#333333"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentRight="true"
|
|
app:cardElevation="@dimen/dp_0"/>
|
|
</RelativeLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
<LinearLayout
|
|
android:layout_marginTop="@dimen/dp_17"
|
|
android:layout_marginBottom="@dimen/dp_18"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<Button
|
|
android:layout_marginLeft="@dimen/dp_18"
|
|
android:id="@+id/tv_cancel"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_36"
|
|
android:layout_weight="1"
|
|
android:text="取消"
|
|
android:textSize="@dimen/sp_14"
|
|
android:textColor="#ffa2a2b3"
|
|
android:background="@drawable/bg_btn_blue"
|
|
android:layout_marginBottom="@dimen/dp_3"/>
|
|
<Button
|
|
android:layout_marginLeft="@dimen/dp_18"
|
|
android:layout_marginRight="@dimen/dp_18"
|
|
android:id="@+id/tv_confirm"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/dp_36"
|
|
android:layout_weight="1"
|
|
android:text="确定"
|
|
android:textSize="@dimen/sp_14"
|
|
android:textColor="#ffffff"
|
|
android:background="@drawable/bg_btn"
|
|
android:layout_marginBottom="@dimen/dp_3"/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |