Merge remote-tracking branch 'origin/dev_robotaxi-d_240912_6.7.0' into dev_robotaxi-d_240912_6.7.0
This commit is contained in:
@@ -15,6 +15,7 @@ import com.mogo.eagle.core.utilcode.util.ClickUtils
|
||||
import com.mogo.eagle.core.utilcode.util.ThreadUtils
|
||||
import com.mogo.eagle.core.utilcode.util.ToastUtils
|
||||
import kotlinx.android.synthetic.main.view_tool_driver_roma.view.ivRomaView
|
||||
import kotlinx.android.synthetic.main.view_tool_driver_roma.view.toolDriverRomaContainer
|
||||
|
||||
class ToolDriverRomaView @JvmOverloads constructor(
|
||||
context: Context,
|
||||
@@ -41,7 +42,7 @@ class ToolDriverRomaView @JvmOverloads constructor(
|
||||
0
|
||||
)
|
||||
|
||||
setOnClickListener {
|
||||
toolDriverRomaContainer.setOnClickListener {
|
||||
if (ClickUtils.isClickTooFrequent(this, 2500)) {
|
||||
ToastUtils.showShort("不要频繁点击哦~")
|
||||
return@setOnClickListener
|
||||
|
||||
@@ -294,17 +294,17 @@ class RoadV2NEventWindowView @JvmOverloads constructor(
|
||||
TypedValue.COMPLEX_UNIT_PX,
|
||||
AutoSizeUtils.dp2px(context, 28f).toFloat()
|
||||
)
|
||||
tvV2XHintContent.setTypeface(null, Typeface.NORMAL)
|
||||
tvV2XHintContent.setTypeface(null, Typeface.BOLD)
|
||||
tvV2XHintContent.setPadding(0, 0, 0, AutoSizeUtils.dp2px(context, 28f))
|
||||
|
||||
val containerImageAndLiveVideoLayoutParams =
|
||||
containerImageAndLiveVideo.layoutParams as ConstraintLayout.LayoutParams
|
||||
containerImageAndLiveVideoLayoutParams.width =
|
||||
AutoSizeUtils.dp2px(context, 350f + 18f * (350f / 480f)) //乘客屏视频加载里面背景切图包含了白边
|
||||
AutoSizeUtils.dp2px(context, 350f) //乘客屏视频加载里面背景切图包含了白边
|
||||
containerImageAndLiveVideoLayoutParams.height = AutoSizeUtils.dp2px(context, 197f)
|
||||
containerImageAndLiveVideoLayoutParams.setMargins(
|
||||
AutoSizeUtils.dp2px(context, 20f),
|
||||
AutoSizeUtils.dp2px(context, 23f - 14f * (54f / 69f)), //乘客屏icon ivV2XImage带了白边
|
||||
AutoSizeUtils.dp2px(context, 23.3f - 14f * (54f / 69f)), //乘客屏icon ivV2XImage带了白边
|
||||
AutoSizeUtils.dp2px(context, 20f),
|
||||
0
|
||||
)
|
||||
|
||||
@@ -158,10 +158,10 @@
|
||||
<!-- 前方路况探查 -->
|
||||
<com.mogo.eagle.core.function.view.RoadCrossRoamView
|
||||
android:id="@+id/viewRoadCrossRoam"
|
||||
android:layout_width="@dimen/dp_654"
|
||||
android:layout_width="@dimen/dp_694"
|
||||
android:layout_height="@dimen/dp_790"
|
||||
android:layout_marginTop="@dimen/dp_39"
|
||||
android:layout_marginEnd="@dimen/dp_19"
|
||||
android:layout_marginEnd="@dimen/dp_24"
|
||||
android:visibility="gone"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/cl_roma_bg"
|
||||
android:id="@+id/toolDriverRomaContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user