From 246998e46c3817563a30be40e164e71842cf5d67 Mon Sep 17 00:00:00 2001 From: lixiaopeng Date: Tue, 2 Nov 2021 10:40:47 +0800 Subject: [PATCH] opt --- .../hmi/ui/notice/NoticeCheckDialog.kt | 8 +++--- .../notice_dialog_check_with_accessory.xml | 26 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/notice/NoticeCheckDialog.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/notice/NoticeCheckDialog.kt index bf66606a42..2b5721e747 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/notice/NoticeCheckDialog.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/notice/NoticeCheckDialog.kt @@ -4,7 +4,7 @@ import android.content.Context import android.widget.ImageView import android.widget.TextView import com.mogo.eagle.core.function.hmi.R -//import com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer +import com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer import com.mogo.module.common.dialog.BaseFloatDialog /** @@ -17,16 +17,16 @@ class NoticeCheckDialog(context: Context) : BaseFloatDialog(context) { private var pushCheckTitle: TextView? = null private var pushCheckContent: TextView? = null private var pushImageView: ImageView? = null -// private var pushVideo: SimpleVideoPlayer? = null + private var pushVideo: SimpleVideoPlayer? = null init { - setContentView(R.layout.notice_dialog_check_with_accessory) //notice_module_dialog_check + setContentView(R.layout.notice_dialog_check_with_accessory) setCanceledOnTouchOutside(true) pushCheckClose = findViewById(R.id.module_push_dialog_close) pushCheckTitle = findViewById(R.id.module_push_dialog_acc_title) pushCheckContent = findViewById(R.id.module_push_dialog_content) pushImageView = findViewById(R.id.notice_image) -// pushVideo = findViewById(R.id.notice_video_layout) + pushVideo = findViewById(R.id.notice_video_layout) // GlideApp.with(context!!).load(headImgUrl) // .placeholder(R.mipmap.module_carchatting_default_head_img).circleCrop().into(pushImageView) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/notice_dialog_check_with_accessory.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/notice_dialog_check_with_accessory.xml index 8356c13943..e3c17b5030 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/notice_dialog_check_with_accessory.xml +++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/notice_dialog_check_with_accessory.xml @@ -62,19 +62,19 @@ app:layout_constraintTop_toBottomOf="@+id/module_push_dialog_acc_title" /> - - - - - - - - - - - - - +