放大暂停按钮的点击区域、全屏取消拖动窗口 高斯模糊变大+透明度降到50%

This commit is contained in:
yangyakun
2022-06-30 18:25:13 +08:00
parent fcc9433759
commit 8d3edf15ed
5 changed files with 10 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ class TaxiPassengerMogoConsultView :RelativeLayout {
.load(taxiPassengerVideoPlay.imageUrl)
.apply(
RequestOptions().transform(
GlideBlurTransform(context, taxiPassengerVideoPlay.imageUrl, 85)
GlideBlurTransform(context, taxiPassengerVideoPlay.imageUrl, 100)
)
)
.into(object : SimpleTarget<Bitmap?>() {

View File

@@ -162,6 +162,7 @@ class ConsultVideoPlayer : StandardGSYVideoPlayer {
onVideoReset()
setVideoAllCallBack(null)
}
dismissProgressDialog()
super.onDetachedFromWindow()
}

View File

@@ -9,7 +9,7 @@
tools:ignore="MissingDefaultResource">
<View
android:background="#B3000000"
android:background="#80000000"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@@ -9,10 +9,11 @@
tools:ignore="MissingDefaultResource">
<View
android:background="#B3000000"
android:background="#80000000"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/aciv_title_icon"
android:src="@drawable/taxi_p_mogo_movies_title_icon"

View File

@@ -77,9 +77,10 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/total"
app:layout_constraintBottom_toBottomOf="@+id/total"
android:layout_marginStart="55px"
android:layout_width="@dimen/notice_play_height"
android:layout_height="@dimen/notice_play_height"
android:paddingStart="55px"
android:layout_width="140px"
android:paddingEnd="35px"
android:layout_height="match_parent"
android:src="@drawable/notice_video_pause" />
<TextView
@@ -89,7 +90,6 @@
app:layout_constraintStart_toEndOf="@+id/start"
app:layout_constraintTop_toTopOf="@+id/total"
app:layout_constraintBottom_toBottomOf="@+id/total"
android:layout_marginStart="35px"
android:gravity="bottom"
android:text="02:23"
android:textColor="@android:color/white"
@@ -115,10 +115,9 @@
android:id="@+id/total"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/notice_time_bottom"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="64px"
app:layout_constraintBottom_toBottomOf="parent"
android:gravity="bottom"
android:layout_marginEnd="55px"
android:textSize="36px"