[8.0.0]Taxi乘客屏去掉漫游功能
This commit is contained in:
@@ -42,8 +42,6 @@ import kotlinx.android.synthetic.main.taxt_u_p_base_fragment.light_setting
|
||||
import kotlinx.android.synthetic.main.taxt_u_p_base_fragment.mHomeView
|
||||
import kotlinx.android.synthetic.main.taxt_u_p_base_fragment.mv_music_info
|
||||
import kotlinx.android.synthetic.main.taxt_u_p_base_fragment.overMapView
|
||||
import kotlinx.android.synthetic.main.taxt_u_p_base_fragment.romaDistanceView
|
||||
import kotlinx.android.synthetic.main.taxt_u_p_base_fragment.romaPView
|
||||
import kotlinx.android.synthetic.main.taxt_u_p_base_fragment.speedView
|
||||
import kotlinx.android.synthetic.main.taxt_u_p_base_fragment.voice_setting
|
||||
|
||||
@@ -144,13 +142,6 @@ class TaxiPassengerBaseFragment :
|
||||
mHomeView.visibility = View.VISIBLE
|
||||
presenter?.setItineraryVisibility()
|
||||
speedView.visibility = View.VISIBLE
|
||||
if (DeviceUtils.isLeOrEb5Model()) {
|
||||
romaPView.updateVisible(true)
|
||||
romaDistanceView.visibility = View.VISIBLE
|
||||
} else {
|
||||
romaPView.updateVisible(false)
|
||||
romaDistanceView.visibility = View.GONE
|
||||
}
|
||||
lbv_go2_center.visibility = View.VISIBLE
|
||||
lbv_go2_center.showAngle()
|
||||
CallerHmiManager.showTrafficLightView()
|
||||
@@ -164,8 +155,6 @@ class TaxiPassengerBaseFragment :
|
||||
mHomeView.visibility = View.GONE
|
||||
presenter?.setItineraryVisibility()
|
||||
speedView.visibility = View.VISIBLE
|
||||
romaPView.updateVisible(false)
|
||||
romaDistanceView.visibility = View.GONE
|
||||
lbv_go2_center.visibility = View.GONE
|
||||
//lbv_go2_center.showOnlyCenter()
|
||||
CallerHmiManager.showTrafficLightView()
|
||||
@@ -180,8 +169,6 @@ class TaxiPassengerBaseFragment :
|
||||
presenter?.setItineraryVisibility()
|
||||
speedView.visibility = View.GONE
|
||||
lbv_go2_center.visibility = View.GONE
|
||||
romaPView.updateVisible(false)
|
||||
romaDistanceView.visibility = View.GONE
|
||||
CallerHmiManager.hideTrafficLightView()
|
||||
infoVideoView.visibility = View.VISIBLE
|
||||
mv_music_info.visibility = View.GONE
|
||||
@@ -194,8 +181,6 @@ class TaxiPassengerBaseFragment :
|
||||
presenter?.setItineraryVisibility()
|
||||
speedView.visibility = View.GONE
|
||||
lbv_go2_center.visibility = View.GONE
|
||||
romaPView.updateVisible(false)
|
||||
romaDistanceView.visibility = View.GONE
|
||||
CallerHmiManager.hideTrafficLightView()
|
||||
infoVideoView.visibility = View.GONE
|
||||
mv_music_info.visibility = View.VISIBLE
|
||||
@@ -391,8 +376,6 @@ class TaxiPassengerBaseFragment :
|
||||
allAnimator.addAll(aniBottomBar(isShow))
|
||||
|
||||
allAnimator.addAll(aniSpeedSettingRow(isShow,speedView))
|
||||
allAnimator.addAll(aniSpeedSettingRow(isShow,romaPView))
|
||||
allAnimator.addAll(aniSpeedSettingRow(isShow,romaDistanceView))
|
||||
|
||||
allAnimator.addAll(aniOrderInfo(isShow))
|
||||
animatorSet.playTogether(allAnimator)
|
||||
|
||||
@@ -49,31 +49,6 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<!-- 漫游按钮 -->
|
||||
<com.mogo.eagle.core.function.hmi.ui.widget.RomaPassengerView
|
||||
android:id="@+id/romaPView"
|
||||
android:layout_width="@dimen/dp_120"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:layout_marginStart="@dimen/dp_60"
|
||||
android:layout_marginTop="110dp"
|
||||
android:background="@drawable/taxt_u_p_roma_bg_selector"
|
||||
app:layout_constraintStart_toEndOf="@+id/speedView"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:roma_close="@drawable/taxt_u_p_roma_bg_selector"
|
||||
app:roma_open="@drawable/taxt_u_p_roma_checked" />
|
||||
|
||||
<com.mogo.eagle.core.function.hmi.ui.widget.RomaDistanceView
|
||||
android:id="@+id/romaDistanceView"
|
||||
android:layout_width="@dimen/dp_334"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:layout_marginStart="@dimen/dp_50"
|
||||
android:layout_marginTop="110dp"
|
||||
app:roma_distance_bg="@drawable/taxi_u_p_roma_distance_bg"
|
||||
app:layout_constraintLeft_toRightOf="@+id/romaPView"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:roma_change_dis_color="true" />
|
||||
|
||||
<!-- 红绿灯 -->
|
||||
<com.mogo.eagle.core.function.hmi.ui.widget.SingleTrafficLightView
|
||||
android:id="@+id/traffic_light_view"
|
||||
|
||||
Reference in New Issue
Block a user