[6.7.2]
[Update] 1、升级动态皮肤加载SDK 2、完善YiXin皮肤包中的文案/TTS,蘑菇--》易鑫
This commit is contained in:
@@ -35,6 +35,7 @@ import com.mogo.eagle.core.utilcode.util.ResourceUtils.getDrawable
|
||||
import com.mogo.eagle.core.utilcode.util.TimeUtils
|
||||
import com.mogo.eagle.core.utilcode.util.TimeUtils.getHourMinFormat
|
||||
import com.mogo.eagle.core.widget.RoundCanClickConstraintLayout
|
||||
import com.mogo.skin.utils.SkinResources
|
||||
|
||||
class MsgBoxToastAdapter(private val activity: Activity) : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
|
||||
|
||||
@@ -210,7 +211,7 @@ class MsgBoxToastAdapter(private val activity: Activity) : RecyclerView.Adapter<
|
||||
}else if(it[position].msgBoxBean.type == MsgBoxType.V2X && it[position].msgBoxBean.sourceType == DataSourceType.SUMMARY){
|
||||
//汇总消息
|
||||
val summaryMsg = it[position].msgBoxBean.bean as V2XMsg
|
||||
holder.tvV2XTitle.text = "蘑菇小助手"
|
||||
holder.tvV2XTitle.text = SkinResources.getInstance().getString(R.string.summary_title)
|
||||
holder.tvV2XContent.text = summaryMsg.content
|
||||
holder.ivV2XImage.setImageDrawable(
|
||||
ContextCompat.getDrawable(
|
||||
|
||||
@@ -27,6 +27,7 @@ import com.mogo.eagle.core.function.call.msgbox.CallerMsgBoxListenerManager
|
||||
import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
||||
import com.mogo.eagle.core.utilcode.util.ThreadUtils
|
||||
import com.mogo.skin.utils.SkinResources
|
||||
|
||||
|
||||
/**
|
||||
@@ -161,7 +162,8 @@ open class AutomaticExplorationView @JvmOverloads constructor(
|
||||
rotationAnim?.cancel()
|
||||
//语音播放,只在司机端播放
|
||||
if(AppIdentityModeUtils.isDriver(FunctionBuildConfig.appIdentityMode)){
|
||||
AIAssist.getInstance(context).speakTTSVoice("道路畅通一切正常蘑菇型车助手将持续守候您的出行")
|
||||
AIAssist.getInstance(context).speakTTSVoice("道路畅通一切正常${SkinResources.getInstance().getString(
|
||||
R.string.operation_platform_name)}型车助手将持续守候您的出行")
|
||||
}
|
||||
//5秒后关闭弹窗
|
||||
val hideViewTimer =object: CountDownTimer(EXPLORATION_HIDE_TIME,EXPLORATION_HIDE_TIME){
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
android:id="@+id/tvMSummaryTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="蘑菇小助手"
|
||||
android:text="@string/summary_title"
|
||||
android:textColor="#FF203555"
|
||||
android:textSize="25dp"
|
||||
android:layout_marginStart="10dp"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
android:id="@+id/tvMSummaryTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="蘑菇小助手"
|
||||
android:text="@string/summary_title"
|
||||
android:textColor="#FF203555"
|
||||
android:textSize="25dp"
|
||||
android:layout_marginStart="20dp"
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
android:id="@+id/tvSummaryTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="蘑菇小助手"
|
||||
android:text="@string/summary_title"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="32dp"
|
||||
app:layout_constraintLeft_toRightOf="@id/ivSummaryImage"
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
android:id="@+id/tvSummaryTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="蘑菇小助手"
|
||||
android:text="@string/summary_title"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="32dp"
|
||||
app:layout_constraintLeft_toRightOf="@id/ivSummaryImage"
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
android:id="@+id/tvPassengerSummaryTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="蘑菇小助手"
|
||||
android:text="@string/summary_title"
|
||||
android:textColor="#FF243959"
|
||||
android:textSize="36dp"
|
||||
android:layout_marginStart="20dp"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
android:id="@+id/tvPassengerSummaryTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="蘑菇小助手"
|
||||
android:text="@string/summary_title"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="36dp"
|
||||
android:layout_marginStart="20dp"
|
||||
|
||||
@@ -20,8 +20,10 @@
|
||||
android:background="@drawable/main_splash_bg">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_157"
|
||||
android:layout_height="@dimen/dp_255"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="@dimen/dp_157"
|
||||
android:minHeight="@dimen/dp_255"
|
||||
android:background="@drawable/mogo_slogan"
|
||||
android:scaleType="centerCrop"
|
||||
android:visibility="visible"
|
||||
|
||||
Reference in New Issue
Block a user