[V2X]修正乘客端预警弹窗位置不对

This commit is contained in:
renwj
2022-07-19 10:41:41 +08:00
parent 35518052f7
commit ac534f6c57
3 changed files with 14 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ public class TaxiPassengerV2XNotificationView extends IViewNotification {
// 设置View的出场位置
setSidePattern(SidePattern.LEFT);
setLayoutGravity(Gravity.LEFT);
setLayoutGravity(Gravity.LEFT | Gravity.TOP);
// 设置View的停留位置相对屏幕左上角的位置
// setOffsetX(getResources().
// getDimensionPixelSize(R.dimen.taxi_p_v2x_notification_view_margin_left));