[2.10.0] 司机端出车/收车点击效果添加

This commit is contained in:
wangmingjun
2022-08-30 14:43:32 +08:00
parent 4c05c8b9d7
commit f19c3c2ca6
9 changed files with 6 additions and 18 deletions

View File

@@ -31,9 +31,9 @@ class BusOperationView @JvmOverloads constructor(
override fun changerOperationStatus(isOut: Boolean) {
if (isOut){
ochBusOperationStatusCTV.setText("收车")
ochBusOperationStatusCTV.text = "收车"
}else{
ochBusOperationStatusCTV.setText("出车")
ochBusOperationStatusCTV.text = "出车"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<gradient
android:startColor="#6D7BAF"
android:endColor="#3B4577"
android:angle="315"
/>
<size
android:width="150px"
android:height="150px"
/>
</shape>

View File

@@ -7,6 +7,7 @@
android:layout_marginTop="40px"
android:paddingBottom="40px"
android:visibility="gone"
tools:visibility="visible"
tools:ignore="DuplicateIds">
<View
@@ -22,6 +23,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="113px"
android:gravity="center"
android:paddingBottom="4px"
android:text="@string/bus_operation_title"
android:textColor="@color/color_FFFFFF"
android:textSize="42px" />
@@ -33,12 +35,11 @@
android:layout_below="@+id/tv_bus_operation_title"
android:layout_marginStart="113px"
android:layout_marginTop="40px"
android:background="@drawable/bus_operation_status_bg"
android:elevation="@dimen/dp_10"
android:background="@drawable/bus_operation_status_bg_selector1"
android:gravity="center"
android:text="出车"
android:textAlignment="center"
android:textColor="@drawable/bus_autopilot_text_color_selector"
android:textColor="@color/bus_autopilot_text_color_normal"
android:textSize="@dimen/module_mogo_och_autopilot_status_text_size"
android:textStyle="bold" />
</RelativeLayout>