[6.7.0] add func of carinfo in bind
This commit is contained in:
@@ -18,6 +18,7 @@ import com.mogo.eagle.core.function.call.devatools.CallerDevaToolsListenerManage
|
||||
import com.mogo.eagle.core.function.call.devatools.CallerDevaToolsManager
|
||||
import com.mogo.eagle.core.function.call.hmi.CallerHmiListenerManager
|
||||
import com.mogo.eagle.core.function.call.map.CallerMapUIServiceManager
|
||||
import com.mogo.eagle.core.function.call.och.CallerOchCustomViewManager
|
||||
import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.function.hmi.ui.tools.OfflineMapDialog
|
||||
import com.mogo.eagle.core.function.hmi.ui.utils.HmiActionLog
|
||||
@@ -29,6 +30,7 @@ import com.mogo.eagle.core.utilcode.util.NetworkUtils
|
||||
import com.mogo.eagle.core.utilcode.util.ToastUtils
|
||||
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
||||
import com.mogo.map.MogoData
|
||||
import kotlinx.android.synthetic.main.view_car_info_tab.view.clBind
|
||||
import kotlinx.android.synthetic.main.view_car_info_tab.view.ivCarType
|
||||
import kotlinx.android.synthetic.main.view_car_info_tab.view.tvADMapVersion
|
||||
import kotlinx.android.synthetic.main.view_car_info_tab.view.tvADVersionName
|
||||
@@ -90,6 +92,12 @@ class CarInfoTabView @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
private fun initView() {
|
||||
|
||||
val qrCodeView = CallerOchCustomViewManager.getOchBindQRCodeView(context)
|
||||
qrCodeView?.let {
|
||||
clBind.addView(qrCodeView)
|
||||
}
|
||||
|
||||
showCurrentPadVersion()
|
||||
showCurrentAdVersion()
|
||||
updateAdHdMapVersion()
|
||||
|
||||
@@ -112,13 +112,13 @@
|
||||
app:layout_constraintLeft_toRightOf="@+id/tvCarNoPos"
|
||||
app:layout_constraintTop_toTopOf="@+id/tvCarNoPos" />
|
||||
|
||||
<!-- <ImageView-->
|
||||
<!-- android:id="@+id/tvCarBindCode"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- app:layout_constraintBottom_toBottomOf="@+id/tvCarNoPos"-->
|
||||
<!-- app:layout_constraintRight_toRightOf="@+id/tvCarExit"-->
|
||||
<!-- app:layout_constraintTop_toTopOf="@+id/tvCarNoPos" />-->
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clBind"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tvCarNoPos"
|
||||
app:layout_constraintRight_toRightOf="@+id/tvCarExit"
|
||||
app:layout_constraintTop_toTopOf="@+id/tvCarNoPos" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVersionPos"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="@dimen/dp_220"
|
||||
android:layout_height="@dimen/dp_140">
|
||||
android:layout_height="@dimen/dp_141">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivTabDefault"
|
||||
@@ -31,7 +31,7 @@
|
||||
<ImageView
|
||||
android:id="@+id/ivTabClickBg"
|
||||
android:layout_width="@dimen/dp_220"
|
||||
android:layout_height="@dimen/dp_140"
|
||||
android:layout_height="@dimen/dp_141"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/icon_tab_click_bg"
|
||||
android:visibility="gone"
|
||||
|
||||
Reference in New Issue
Block a user