[m1 1.0.0]
[控制车辆设置]
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/bus_p_function_device_closedoor_normal_src" android:gravity="center"
|
||||
android:width="@dimen/dp_136"
|
||||
android:height="@dimen/dp_136"/>
|
||||
</layer-list >
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/bus_p_function_device_closedoor_press_src" android:gravity="center"
|
||||
android:width="@dimen/dp_136"
|
||||
android:height="@dimen/dp_136"/>
|
||||
</layer-list >
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/bus_p_function_device_closedoor_press" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/bus_p_function_device_closedoor_normal" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/bus_p_function_device_closedoor_normal"/>
|
||||
</selector>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/bus_p_function_device_go_normal_src" android:gravity="center"
|
||||
android:width="@dimen/dp_136"
|
||||
android:height="@dimen/dp_136"/>
|
||||
</layer-list >
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/bus_p_function_device_go_press_src" android:gravity="center"
|
||||
android:width="@dimen/dp_136"
|
||||
android:height="@dimen/dp_136"/>
|
||||
</layer-list >
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/bus_p_function_device_go_press" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/bus_p_function_device_go_normal" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/bus_p_function_device_go_normal"/>
|
||||
</selector>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/bus_p_function_device_opendoor_normal_src" android:gravity="center"
|
||||
android:width="@dimen/dp_136"
|
||||
android:height="@dimen/dp_136"/>
|
||||
</layer-list >
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/bus_p_function_device_opendoor_press_src" android:gravity="center"
|
||||
android:width="@dimen/dp_136"
|
||||
android:height="@dimen/dp_136"/>
|
||||
</layer-list >
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/bus_p_function_device_opendoor_press" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/bus_p_function_device_opendoor_normal" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/bus_p_function_device_opendoor_normal"/>
|
||||
</selector>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/bus_p_function_device_stopside_normal_src" android:gravity="center"
|
||||
android:width="@dimen/dp_136"
|
||||
android:height="@dimen/dp_136"/>
|
||||
</layer-list >
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/bus_p_function_device_stopside_press_src" android:gravity="center"
|
||||
android:width="@dimen/dp_136"
|
||||
android:height="@dimen/dp_136"/>
|
||||
</layer-list >
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/bus_p_function_device_stopside_press" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/bus_p_function_device_stopside_normal" android:state_pressed="false"/>
|
||||
<item android:drawable="@drawable/bus_p_function_device_stopside_normal"/>
|
||||
</selector>
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cb_bp_video_player"
|
||||
android:src="@drawable/m1_chufa_nor"
|
||||
android:src="@drawable/bus_p_function_device_go_normal_src"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintEnd_toStartOf="@+id/cb_bp_setting_soft"
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cb_bp_setting_soft"
|
||||
android:src="@drawable/m1_guanchemen_nor"
|
||||
android:src="@drawable/bus_p_function_device_closedoor_normal_src"
|
||||
app:layout_constraintStart_toEndOf="@+id/cb_bp_video_player"
|
||||
app:layout_constraintEnd_toStartOf="@+id/cb_bp_setting_device"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/cb_bp_setting_device"
|
||||
android:src="@drawable/m1_kaichemen_nor"
|
||||
android:src="@drawable/bus_p_function_device_opendoor_normal_src"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/cb_bp_setting_soft"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cb_bp_video_player"
|
||||
android:background="@drawable/m1_chufa_nor"
|
||||
android:background="@drawable/bus_p_function_device_go_normal_src"
|
||||
android:button="@null"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cb_bp_setting_soft"
|
||||
android:background="@drawable/m1_guanchemen_nor"
|
||||
android:background="@drawable/bus_p_function_device_closedoor_normal_src"
|
||||
android:button="@null"
|
||||
app:layout_constraintStart_toEndOf="@+id/cb_bp_video_player"
|
||||
app:layout_constraintEnd_toStartOf="@+id/cb_bp_setting_device"
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cb_bp_setting_device"
|
||||
android:background="@drawable/m1_kaichemen_nor"
|
||||
android:background="@drawable/bus_p_function_device_opendoor_normal_src"
|
||||
android:button="@null"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/cb_bp_setting_soft"
|
||||
|
||||
@@ -1,17 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/holo_red_light"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
<TextView
|
||||
android:text="devices"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:background="@drawable/bus_p_function_setting_soft_b_shape"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="431:110"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintWidth_percent="0.4589">
|
||||
|
||||
<TextView
|
||||
android:gravity="center"
|
||||
android:id="@+id/tv_car_setting_go"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableTop="@drawable/bus_p_function_device_go_press_selecor"
|
||||
android:text="出发"
|
||||
android:clickable="true"
|
||||
android:textColor="@color/bus_p_m1_203555"
|
||||
android:textSize="@dimen/dp_28"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/tv_car_setting_stopside"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.492" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_setting_stopside"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="靠边停车"
|
||||
android:gravity="center"
|
||||
android:clickable="true"
|
||||
android:textColor="@color/bus_p_m1_203555"
|
||||
android:textSize="@dimen/dp_28"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:drawableTop="@drawable/bus_p_function_device_stopside_press_selecor"
|
||||
app:layout_constraintEnd_toStartOf="@+id/tv_car_setting_opendoor"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_car_setting_go"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_setting_opendoor"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="开车门"
|
||||
android:gravity="center"
|
||||
android:clickable="true"
|
||||
android:textColor="@color/bus_p_m1_203555"
|
||||
android:textSize="@dimen/dp_28"
|
||||
android:drawableTop="@drawable/bus_p_function_device_opendoor_press_selecor"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/tv_car_setting_closedoor"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_car_setting_stopside"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_car_setting_closedoor"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="关车门"
|
||||
android:gravity="center"
|
||||
android:clickable="true"
|
||||
android:textColor="@color/bus_p_m1_203555"
|
||||
android:textSize="@dimen/dp_28"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:drawableTop="@drawable/bus_p_function_device_closedoor_press_selecor"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_car_setting_opendoor"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
8
OCH/mogo-och-bus-passenger/src/m1/res/values/color.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="module_main_window_background_color">#212831</color>
|
||||
|
||||
<color name="bus_p_m1_203555">#203555</color>
|
||||
|
||||
|
||||
</resources>
|
||||