From d3f0ac654b8b618dbe979aeba2dcfa284eda077d Mon Sep 17 00:00:00 2001 From: zhongchao Date: Tue, 31 Jan 2023 15:26:32 +0800 Subject: [PATCH] [2.13.0-arch-opt] fix bug of limit speed and move view --- .../main/res/layout/bus_p_base_fragment.xml | 19 ---- .../och/bus/passenger/ExampleUnitTest.java | 34 +++---- .../src/main/res/layout/bus_base_fragment.xml | 25 ++++- .../java/com/mogo/och/noop/OchNoopFragment.kt | 39 +++----- .../main/res/layout/och_noop_fragment_hmi.xml | 95 ++++++------------- .../sweeper/view/SweeperTrafficDataView.java | 14 --- .../passenger/model/TaxiPassengerModel.java | 3 +- .../main/res/layout/taxi_p_base_fragment.xml | 19 ---- .../main/res/layout/taxi_base_fragment.xml | 16 ++++ .../hmi/ui/msgbox/DriverMsgBoxListView.kt | 2 +- .../msgbox/adapter/DriverMsgBoxListAdapter.kt | 24 +++-- .../hmi/ui/switch/DemoModeHiddenSwitch.kt | 18 ++-- .../hmi/ui/widget/LimitingVelocityView.kt | 16 ++-- .../function/hmi/ui/widget/VersionNameView.kt | 2 +- .../src/main/res/layout/fragment_hmi.xml | 40 +------- .../res/layout/view_limiting_speed_vr.xml | 10 +- 16 files changed, 136 insertions(+), 240 deletions(-) diff --git a/OCH/mogo-och-bus-passenger/src/main/res/layout/bus_p_base_fragment.xml b/OCH/mogo-och-bus-passenger/src/main/res/layout/bus_p_base_fragment.xml index 564aa1e394..95eaa395d2 100644 --- a/OCH/mogo-och-bus-passenger/src/main/res/layout/bus_p_base_fragment.xml +++ b/OCH/mogo-och-bus-passenger/src/main/res/layout/bus_p_base_fragment.xml @@ -26,16 +26,6 @@ app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintTop_toTopOf="parent"/> - - - - - - Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file +//package com.mogo.och.bus.passenger; +// +//import org.junit.Test; +// +//import static org.junit.Assert.*; +// +///** +// * Example local unit test, which will execute on the development machine (host). +// * +// * @see Testing documentation +// */ +//public class ExampleUnitTest { +// @Test +// public void addition_isCorrect() { +// assertEquals(4, 2 + 2); +// } +//} \ No newline at end of file diff --git a/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml b/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml index da6d779a3b..fae3e46139 100644 --- a/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml +++ b/OCH/mogo-och-bus/src/main/res/layout/bus_base_fragment.xml @@ -56,11 +56,27 @@ android:layout_width="120dp" android:layout_height="120dp" android:layout_marginTop="45dp" - android:layout_marginEnd="40dp" app:layout_constraintRight_toLeftOf="@id/viewTrafficLightVr" app:layout_constraintTop_toTopOf="parent" + tools:ignore="SpeakableTextPresentCheck" tools:visibility="visible" /> + + + + app:layout_constraintStart_toStartOf="parent" + tools:ignore="SpeakableTextPresentCheck" /> +