opt
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -62,19 +62,19 @@
|
||||
app:layout_constraintTop_toBottomOf="@+id/module_push_dialog_acc_title" />
|
||||
|
||||
<!--中间视频-->
|
||||
<!-- <com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer-->
|
||||
<!-- android:id="@+id/notice_video_layout"-->
|
||||
<!-- android:layout_width="@dimen/module_push_dialog_check_acc_image_width"-->
|
||||
<!-- android:layout_height="@dimen/module_push_dialog_check_acc_image__height"-->
|
||||
<!-- android:layout_marginLeft="@dimen/dp_150"-->
|
||||
<!-- android:layout_marginTop="@dimen/dp_52"-->
|
||||
<!-- android:layout_marginRight="@dimen/dp_150"-->
|
||||
<!-- android:gravity="center"-->
|
||||
<!-- android:visibility="gone"-->
|
||||
<!-- app:layout_constraintBottom_toTopOf="@+id/module_push_dialog_bottom_title"-->
|
||||
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
||||
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
||||
<!-- app:layout_constraintTop_toBottomOf="@+id/module_push_dialog_acc_title" />-->
|
||||
<com.mogo.eagle.core.widget.media.video.SimpleVideoPlayer
|
||||
android:id="@+id/notice_video_layout"
|
||||
android:layout_width="@dimen/module_push_dialog_check_acc_image_width"
|
||||
android:layout_height="@dimen/module_push_dialog_check_acc_image__height"
|
||||
android:layout_marginLeft="@dimen/dp_150"
|
||||
android:layout_marginTop="@dimen/dp_52"
|
||||
android:layout_marginRight="@dimen/dp_150"
|
||||
android:gravity="center"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toTopOf="@+id/module_push_dialog_bottom_title"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/module_push_dialog_acc_title" />
|
||||
|
||||
<!--加载失败默认图-->
|
||||
<ImageView
|
||||
|
||||
Reference in New Issue
Block a user