[6.10.0]我的车辆地图显示修改
This commit is contained in:
@@ -4,6 +4,7 @@ import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.util.Log
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import androidx.constraintlayout.widget.ConstraintLayout
|
||||
import com.mogo.commons.debug.DebugConfig
|
||||
import com.mogo.commons.storage.SharedPrefsMgr
|
||||
@@ -284,6 +285,11 @@ class CarInfoTabView @JvmOverloads constructor(
|
||||
}
|
||||
CallerLogger.i(SceneConstant.M_HMI + TAG, "updateGridMapVersion, gridMapVersion:${AppConfigInfo.gridMapVersion}")
|
||||
tvGridMapVersion.text = context.getString(R.string.tab_version_grid_map_info) + AppConfigInfo.gridMapVersion
|
||||
tvGridMapVersion.visibility = View.VISIBLE
|
||||
}
|
||||
}else{
|
||||
UiThreadHandler.post{
|
||||
tvGridMapVersion.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -299,6 +305,11 @@ class CarInfoTabView @JvmOverloads constructor(
|
||||
}
|
||||
CallerLogger.i(SceneConstant.M_HMI + TAG, "updateSlamMapVersion, slamMapVersion:${AppConfigInfo.slamMapVersion}")
|
||||
tvSlamMapVersion.text = context.getString(R.string.tab_version_slam_map_info) + AppConfigInfo.slamMapVersion
|
||||
tvSlamMapVersion.visibility = View.VISIBLE
|
||||
}
|
||||
}else{
|
||||
UiThreadHandler.post{
|
||||
tvSlamMapVersion.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvADMapVersion"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="@dimen/dp_0"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:gravity="center_vertical"
|
||||
@@ -229,11 +229,13 @@
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/dp_32"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tvHDMapVersion"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvHDMapVersion" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvHDMapVersion"
|
||||
app:layout_constraintRight_toRightOf="@id/tvCarExit"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvGridMapVersion"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="@dimen/dp_0"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:gravity="center_vertical"
|
||||
@@ -242,11 +244,12 @@
|
||||
android:textSize="@dimen/dp_32"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tvADMapVersion"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvADMapVersion"
|
||||
app:layout_constraintRight_toRightOf="@id/tvCarExit"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSlamMapVersion"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="@dimen/dp_0"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:gravity="center_vertical"
|
||||
@@ -255,6 +258,7 @@
|
||||
android:textSize="@dimen/dp_32"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/tvGridMapVersion"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvGridMapVersion"
|
||||
app:layout_constraintRight_toRightOf="@id/tvCarExit"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user