[m2]修复调试窗切换自车模型Bug
This commit is contained in:
@@ -9,7 +9,6 @@ import android.graphics.Color
|
||||
import android.os.Build
|
||||
import android.text.Html
|
||||
import android.util.AttributeSet
|
||||
import android.util.Log
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import androidx.annotation.RequiresApi
|
||||
@@ -541,15 +540,15 @@ internal class DebugSettingView @JvmOverloads constructor(
|
||||
/**
|
||||
* 修改自车按钮(出租车、小巴车)
|
||||
*/
|
||||
tbChangeCurrentCarIcon.setOnCheckedChangeListener { _, isChecked ->
|
||||
if (!isChecked) {
|
||||
// 替换为出租车图标
|
||||
CallerMapUIServiceManager.getMapUIController()?.changeCurrentIcon(R.raw.chuzuche)
|
||||
} else {
|
||||
// 替换为小巴车图标
|
||||
CallerMapUIServiceManager.getMapUIController()?.changeCurrentIcon(R.raw.xiaobache)
|
||||
}
|
||||
}
|
||||
// tbChangeCurrentCarIcon.setOnCheckedChangeListener { _, isChecked ->
|
||||
// if (!isChecked) {
|
||||
// // 替换为出租车图标
|
||||
// CallerMapUIServiceManager.getMapUIController()?.changeCurrentIcon(R.raw.chuzuche)
|
||||
// } else {
|
||||
// // 替换为小巴车图标
|
||||
// CallerMapUIServiceManager.getMapUIController()?.changeCurrentIcon(R.raw.xiaobache)
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1481,7 +1481,9 @@
|
||||
android:textSize="@dimen/dp_24"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toLeftOf="@id/btnDrawTrolley"
|
||||
app:layout_constraintTop_toBottomOf="@id/reset_changesight" />
|
||||
app:layout_constraintTop_toBottomOf="@id/reset_changesight"
|
||||
android:visibility="invisible"
|
||||
/>
|
||||
|
||||
<ToggleButton
|
||||
android:id="@+id/btnDrawFusion"
|
||||
|
||||
Reference in New Issue
Block a user