bus方向盘UI
This commit is contained in:
@@ -78,7 +78,7 @@ public class SteeringWheelView extends ConstraintLayout {
|
||||
steeringCircularV = findViewById(R.id.steering_circular);
|
||||
steeringCircularV.setBackWidth(8);
|
||||
steeringCircularV.setBackColor(R.color.hmi_light_back_bg);
|
||||
steeringCircularV.setProgColor(R.color.hmi_dark_blue, R.color.hmi_light_blue);
|
||||
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);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 62 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 65 KiB |
@@ -38,6 +38,7 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/bg_auto"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/steering_circular"
|
||||
app:layout_constraintLeft_toLeftOf="@+id/steering_circular"
|
||||
app:layout_constraintRight_toRightOf="@+id/steering_circular"
|
||||
@@ -48,7 +49,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_72"
|
||||
android:layout_marginRight="-10px"
|
||||
android:layout_marginRight="-16px"
|
||||
android:gravity="right"
|
||||
android:text="180°"
|
||||
android:textColor="#415479"
|
||||
@@ -61,7 +62,7 @@
|
||||
android:id="@+id/steering_tv_right"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="-10px"
|
||||
android:layout_marginLeft="-16px"
|
||||
android:layout_marginTop="@dimen/dp_72"
|
||||
android:gravity="left"
|
||||
android:text="180°"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
android:layout_height="@dimen/dp_240"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/dp_140"
|
||||
android:layout_marginTop="@dimen/dp_152"
|
||||
android:src="@drawable/bg_auto"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
<color name="hmi_traffic_light_yellow_color_up">#FFFFE198</color>
|
||||
<color name="hmi_traffic_light_yellow_color_down">#FFFF9B00</color>
|
||||
<color name="hmi_light_blue">#45D3FF</color>
|
||||
<color name="hmi_dark_blue">#3261B6</color>
|
||||
<color name="hmi_dark_blue">#1B5BFF</color>
|
||||
<color name="hmi_light_back_bg">#1EBBCFF6</color>
|
||||
<color name="hmi_light_blue_alpha_00">#D945D3FF</color>
|
||||
<color name="hmi_light_blue_alpha_ff">#D93261B6</color>
|
||||
|
||||
Reference in New Issue
Block a user