[6.3.0][Opt]运营面板业务类UI优化
This commit is contained in:
@@ -743,6 +743,13 @@ internal class SOPSettingView @JvmOverloads constructor(
|
||||
it.visibility = GONE
|
||||
} else {
|
||||
it.visibility = VISIBLE
|
||||
val params = it.layoutParams as ConstraintLayout.LayoutParams
|
||||
if (scLineRoutingVerify.visibility == VISIBLE) {
|
||||
params.topToBottom = R.id.scLineRoutingVerify
|
||||
} else {
|
||||
params.topToBottom = R.id.scIPCReport
|
||||
}
|
||||
it.layoutParams = params
|
||||
it.setOnCheckedChangeListener { _, isChecked ->
|
||||
CallerMapUIServiceManager.getMapUIController()?.setWeatherEnable(isChecked)
|
||||
}
|
||||
@@ -818,10 +825,18 @@ internal class SOPSettingView @JvmOverloads constructor(
|
||||
else
|
||||
View.GONE
|
||||
tvPullTimeTitle.visibility =
|
||||
if(AppIdentityModeUtils.isTaxiDriver(FunctionBuildConfig.appIdentityMode))
|
||||
if(AppIdentityModeUtils.isTaxiDriver(FunctionBuildConfig.appIdentityMode)) {
|
||||
val params = tvPullTimeTitle.layoutParams as ConstraintLayout.LayoutParams
|
||||
if (scWeatherSwitch.visibility == VISIBLE) {
|
||||
params.topToBottom = R.id.scWeatherSwitch
|
||||
} else {
|
||||
params.topToBottom = R.id.scLineRoutingVerify
|
||||
}
|
||||
tvPullTimeTitle.layoutParams = params
|
||||
View.VISIBLE
|
||||
else
|
||||
} else {
|
||||
View.GONE
|
||||
}
|
||||
|
||||
/**
|
||||
* 魔方sop运营相关配置
|
||||
|
||||
@@ -780,8 +780,7 @@
|
||||
android:text="@string/pull_time_title"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="32dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/scLineRoutingVerify" />
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/rgPullTime"
|
||||
|
||||
Reference in New Issue
Block a user