ui微调,删除测试代码

This commit is contained in:
liujing
2022-05-31 16:50:37 +08:00
parent eb98114c02
commit 198a066f45
3 changed files with 2 additions and 4 deletions

View File

@@ -79,14 +79,12 @@ public class SteeringWheelView extends ConstraintLayout {
steeringCircularV.setBackWidth(8);
steeringCircularV.setBackColor(R.color.hmi_light_back_bg);
steeringCircularV.setProgColor(R.color.hmi_light_blue, R.color.hmi_dark_blue);
steeringCircularV.setProgress((int) (180 * 100) / 360, 1000);
if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
steeringCircularVAlpha = findViewById(R.id.steering_circular_alpha);
steeringCircularVAlpha.setBackWidth(8);
steeringCircularVAlpha.setBackColor(R.color.hmi_clear_00);
steeringCircularVAlpha.setProgColor(R.color.hmi_light_blue_alpha_ff, R.color.hmi_light_blue_alpha_00);
steeringCircularVAlpha.setBlurMaskFilter(BlurMaskFilter.Blur.NORMAL, 12);
steeringCircularVAlpha.setProgress((int) (180 * 100) / 360, 1000);
}
}

View File

@@ -38,7 +38,7 @@
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:src="@drawable/bg_auto"
android:layout_marginTop="@dimen/dp_16"
android:layout_marginTop="@dimen/dp_6"
app:layout_constraintBottom_toBottomOf="@+id/steering_circular"
app:layout_constraintLeft_toLeftOf="@+id/steering_circular"
app:layout_constraintRight_toRightOf="@+id/steering_circular"

View File

@@ -28,7 +28,7 @@
android:textColor="#FFFFFFFF"
android:textSize="@dimen/dp_37"
android:visibility="invisible"
app:layout_constraintRight_toLeftOf="@+id/blue_circle"
app:layout_constraintRight_toLeftOf="@+id/autopilot_iv"
app:layout_constraintTop_toTopOf="parent" />
<TextView