[8.0.0]MogoMind PNC消息UI调整
This commit is contained in:
@@ -27,12 +27,8 @@ class PNCActionsViewModel: ViewModel(), IMoGoAutopilotPlanningActionsListener {
|
||||
UiThreadHandler.post {
|
||||
if (CallerAutoPilotStatusListenerManager.getState() == IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING) {
|
||||
var actions: String? = null
|
||||
var isPlanningFromServer = false
|
||||
planningActionMsg.actionMsg?.let {
|
||||
try {
|
||||
if (it.drivingState.number == MessagePad.DrivingState.USING_RSI_LINK_VALUE) {
|
||||
isPlanningFromServer = true
|
||||
}
|
||||
actions = PncActionsHelper.getAction(
|
||||
it.drivingState.number,
|
||||
it.drivingAction.number
|
||||
@@ -42,9 +38,6 @@ class PNCActionsViewModel: ViewModel(), IMoGoAutopilotPlanningActionsListener {
|
||||
}
|
||||
}
|
||||
planningActionMsg.v2NActionMsgList?.forEach { v2nAction ->
|
||||
if (v2nAction.drivingState.number == MessagePad.DrivingState.USING_RSI_LINK_VALUE) {
|
||||
isPlanningFromServer = true
|
||||
}
|
||||
actions = PncActionsHelper.getAction(
|
||||
v2nAction.drivingState.number,
|
||||
v2nAction.drivingAction.number
|
||||
|
||||
@@ -1,14 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/tvPncAction"
|
||||
android:layout_width="@dimen/dp_747"
|
||||
<com.mogo.och.common.module.wigets.OCHBorderShadowLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="@dimen/dp_799"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#394047"
|
||||
android:textSize="@dimen/sp_32"
|
||||
android:paddingStart="@dimen/dp_30"
|
||||
android:paddingEnd="@dimen/dp_30"
|
||||
android:paddingTop="@dimen/dp_22"
|
||||
android:paddingBottom="@dimen/dp_22"
|
||||
>
|
||||
app:shadowRadius="@dimen/dp_20"
|
||||
app:shadowColor="#26666666"
|
||||
app:xOffset="0dp"
|
||||
app:yOffset="0dp"
|
||||
app:blurRadius="@dimen/dp_26">
|
||||
|
||||
</TextView>
|
||||
<TextView
|
||||
android:id="@+id/tvPncAction"
|
||||
android:layout_width="@dimen/dp_747"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#394047"
|
||||
android:textSize="@dimen/sp_32"
|
||||
android:paddingStart="@dimen/dp_30"
|
||||
android:paddingEnd="@dimen/dp_30"
|
||||
android:paddingTop="@dimen/dp_22"
|
||||
android:paddingBottom="@dimen/dp_22"
|
||||
/>
|
||||
|
||||
</com.mogo.och.common.module.wigets.OCHBorderShadowLayout>
|
||||
Reference in New Issue
Block a user