[6.4.0]
[自动驾驶按钮样式修改]
This commit is contained in:
@@ -125,7 +125,7 @@ class AutopilotStatusView : RelativeLayout,AutopilotStatusViewModel.IAutopilotSt
|
||||
bus_autopolot_btn_tv.text = resources.getString(R.string.charter_loading_autopilot_pingxing_tv)
|
||||
bus_autopilot_btn_iv.setImageResource(R.drawable.charter_ic_autopilot)
|
||||
isClickable = false
|
||||
background = ResourceUtils.getDrawable(R.drawable.charter_pingxingjiashi)
|
||||
background = ResourceUtils.getDrawable(R.drawable.common_autopilot_pxjs)
|
||||
}
|
||||
|
||||
override fun onAttachedToWindow() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/charter_press_start_status"/>
|
||||
<item android:drawable="@drawable/charter_start_failure"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/common_autopilot_press"/>
|
||||
<item android:drawable="@drawable/common_autopilot_start_fail"/>
|
||||
</selector>
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/charter_press_start_status">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/common_autopilot_press">
|
||||
</item>
|
||||
<item android:drawable="@drawable/charter_start_success">
|
||||
<item android:drawable="@drawable/common_autopilot_in_autopilot">
|
||||
</item>
|
||||
</selector>
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="@dimen/dp_616"
|
||||
android:layout_height="@dimen/dp_180"
|
||||
android:layout_width="@dimen/dp_618"
|
||||
android:layout_height="@dimen/dp_185"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/charter_autopilot_0_1_status_bg"
|
||||
tools:parentTag="RelativeLayout">
|
||||
|
||||
@@ -164,20 +164,24 @@
|
||||
|
||||
<com.magic.mogo.och.charter.view.autopilot.AutopilotStatusView
|
||||
android:id="@+id/autopilot_status"
|
||||
android:layout_width="@dimen/dp_616"
|
||||
android:layout_height="@dimen/dp_180"
|
||||
android:layout_width="@dimen/dp_618"
|
||||
android:layout_height="@dimen/dp_185"
|
||||
android:gravity="center"
|
||||
android:paddingTop="@dimen/dp_27"
|
||||
android:paddingBottom="@dimen/dp_32"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/fl_speed"
|
||||
tools:visibility="visible"
|
||||
android:layout_marginLeft="@dimen/dp_13"/>
|
||||
android:layout_marginTop="-31dp"
|
||||
android:layout_marginLeft="@dimen/dp_9"/>
|
||||
|
||||
<!--订单状态-->
|
||||
<FrameLayout
|
||||
android:id="@+id/module_mogo_och_station_panel_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_13"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_marginTop="-30dp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/autopilot_status"
|
||||
app:layout_goneMarginTop="@dimen/dp_530" />
|
||||
|
||||
Reference in New Issue
Block a user