默认值改为0°
This commit is contained in:
@@ -78,11 +78,11 @@ public class SteeringWheelView extends ConstraintLayout {
|
||||
steeringCircularV = findViewById(R.id.steering_circular);
|
||||
steeringCircularV.setBackWidth(8);
|
||||
steeringCircularV.setBackColor(R.color.hmi_light_back_bg);
|
||||
steeringCircularV.setProgress((int) (270 * 100) / 360, 20);
|
||||
steeringCircularV.setProgress((int) (0 * 100) / 360, 20);
|
||||
steeringCircularV.setProgColor(R.color.hmi_light_blue, R.color.hmi_dark_blue);
|
||||
if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
|
||||
steeringCircularVAlpha = findViewById(R.id.steering_circular_alpha);
|
||||
steeringCircularVAlpha.setProgress((int) (270 * 100) / 360, 20);
|
||||
steeringCircularVAlpha.setProgress((int) (0 * 100) / 360, 20);
|
||||
steeringCircularV.setProgColor(R.color.hmi_dark_blue, R.color.hmi_light_blue);
|
||||
steeringCircularVAlpha.setBackWidth(8);
|
||||
steeringCircularVAlpha.setBackColor(R.color.hmi_clear_00);
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
android:layout_marginTop="@dimen/dp_130"
|
||||
android:layout_marginRight="-10px"
|
||||
android:gravity="right"
|
||||
android:text="180°"
|
||||
android:text="0°"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="@dimen/dp_37"
|
||||
android:visibility="invisible"
|
||||
@@ -38,7 +38,7 @@
|
||||
android:layout_marginLeft="-10px"
|
||||
android:layout_marginTop="@dimen/dp_130"
|
||||
android:gravity="left"
|
||||
android:text="180°"
|
||||
android:text="0°"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="@dimen/dp_37"
|
||||
app:layout_constraintLeft_toRightOf="@+id/autopilot_iv"
|
||||
|
||||
Reference in New Issue
Block a user