diff --git a/OCH/mogo-och-bus/src/main/res/layout/fragment_och_bus.xml b/OCH/mogo-och-bus/src/main/res/layout/fragment_och_bus.xml index b7a1745fbd..5845c787b4 100644 --- a/OCH/mogo-och-bus/src/main/res/layout/fragment_och_bus.xml +++ b/OCH/mogo-och-bus/src/main/res/layout/fragment_och_bus.xml @@ -2,8 +2,8 @@ @@ -12,16 +12,16 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="right" - android:layout_marginTop="16px" - android:layout_marginRight="16px" + android:layout_marginTop="@dimen/module_mogo_och_autopilot_order_tag_m_t" + android:layout_marginRight="@dimen/module_mogo_och_autopilot_order_tag_m_r" android:background="@drawable/module_och_bus_panel_anchor_bkg" - android:paddingLeft="8px" - android:paddingTop="1px" - android:paddingRight="8px" - android:paddingBottom="1px" + android:paddingLeft="@dimen/module_mogo_och_autopilot_order_tag_p_r" + android:paddingTop="2px" + android:paddingRight="@dimen/module_mogo_och_autopilot_order_tag_p_r" + android:paddingBottom="2px" android:text="小巴车" android:textColor="#FFF" - android:textSize="16px" + android:textSize="@dimen/module_mogo_och_autopilot_order_tag_height" android:textStyle="bold" /> @@ -50,8 +50,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="6px" + android:text="--" android:textColor="#FFF" - android:textSize="26px" + android:textSize="@dimen/module_mogo_och_bus_station_name_text_size" android:textStyle="bold" app:layout_constraintLeft_toLeftOf="@+id/module_och_bus_current_station_anchor" app:layout_constraintTop_toBottomOf="@+id/module_och_bus_current_station_anchor" @@ -63,7 +64,7 @@ android:layout_height="wrap_content" android:text="始" android:textColor="#8E9DD4" - android:textSize="20px" + android:textSize="@dimen/module_mogo_och_bus_station_notice_text_size" android:textStyle="bold" android:visibility="invisible" app:layout_constraintBottom_toBottomOf="@+id/module_och_bus_current_station" @@ -75,10 +76,10 @@ android:id="@+id/module_och_bus_next_station_anchor" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="27px" + android:layout_marginTop="@dimen/module_och_bus_order_distance_anchor_marginTop" android:text="下一站:" android:textColor="#8E9DD4" - android:textSize="20px" + android:textSize="@dimen/module_och_bus_order_start_station_anchor_textSize" android:textStyle="bold" app:layout_constraintLeft_toLeftOf="@+id/module_och_bus_current_station" app:layout_constraintTop_toBottomOf="@+id/module_och_bus_current_station" /> @@ -87,8 +88,9 @@ android:id="@+id/module_och_bus_order_end_station" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:text="--" android:textColor="#FFF" - android:textSize="@dimen/module_och_bus_order_start_station_textSize" + android:textSize="@dimen/module_mogo_och_bus_station_name_text_size" android:textStyle="bold" app:layout_constraintLeft_toLeftOf="@+id/module_och_bus_next_station_anchor" app:layout_constraintTop_toBottomOf="@+id/module_och_bus_next_station_anchor" @@ -100,7 +102,7 @@ android:layout_height="wrap_content" android:text="终" android:textColor="#8E9DD4" - android:textSize="20px" + android:textSize="@dimen/module_mogo_och_bus_station_notice_text_size" android:textStyle="bold" android:visibility="invisible" app:layout_constraintBottom_toBottomOf="@+id/module_och_bus_order_end_station" @@ -121,13 +123,14 @@ - - \ No newline at end of file diff --git a/OCH/mogo-och-bus/src/main/res/values-xhdpi-2560x1600/dimens.xml b/OCH/mogo-och-bus/src/main/res/values-xhdpi-2560x1600/dimens.xml new file mode 100644 index 0000000000..6df53a85b2 --- /dev/null +++ b/OCH/mogo-och-bus/src/main/res/values-xhdpi-2560x1600/dimens.xml @@ -0,0 +1,63 @@ + + + + 300px + 348px + 211px + 276px + + + 220px + 98px + 159px + + 32px + 20px + 41.6px + 32px + + 15px + + 20px + 36px + 28px + 36px + + 3px + 3px + 17px + 17px + + + 300px + 270px + 30px + 24px + 24px + 1px + 30px + 23px + 30px + 146px + 20px + 23px + 30px + 23px + 26px + 32px + 20px + 80px + 3px + 44.5px + 20px + 28px + 27px + + + 25.6px + 20px + 20px + 16px + 16px + + \ No newline at end of file diff --git a/OCH/mogo-och-bus/src/main/res/values/dimens.xml b/OCH/mogo-och-bus/src/main/res/values/dimens.xml index db034e5867..38414718d2 100644 --- a/OCH/mogo-och-bus/src/main/res/values/dimens.xml +++ b/OCH/mogo-och-bus/src/main/res/values/dimens.xml @@ -48,10 +48,16 @@ 20px 80px 3px - 27px + 27px 20px 28px 27px + 16px + 16px + 16px + 16px + 16px + \ No newline at end of file diff --git a/OCH/mogo-och/src/main/res/layout/module_mogo_och_base_fragment.xml b/OCH/mogo-och/src/main/res/layout/module_mogo_och_base_fragment.xml index 3757a8f629..b020ce9082 100644 --- a/OCH/mogo-och/src/main/res/layout/module_mogo_och_base_fragment.xml +++ b/OCH/mogo-och/src/main/res/layout/module_mogo_och_base_fragment.xml @@ -14,9 +14,11 @@ android:layout_marginTop="@dimen/module_mogo_och_station_panel_container_margin_top_no_call" android:background="@drawable/module_mogo_och_autopilot_status_bg" android:drawableLeft="@drawable/module_och_bus_ic_autopilot" + android:drawablePadding="@dimen/dp_10" android:elevation="@dimen/dp_10" - android:gravity="center" - android:paddingLeft="35px" + android:foregroundGravity="center" + android:gravity="center_vertical" + android:paddingLeft="@dimen/module_mogo_och_operation_status_padding" android:text="自动驾驶" android:textAlignment="center" android:textColor="@color/module_mogo_och_autopilot_text_color_normal" @@ -28,12 +30,11 @@ + + + 40px + 40px + 46px + 24px + + 530px + 492px + + 24px + 460px + 140px + + 144px + 144px + + 92px + + 30px + 466px + 414px + + + 44px + 13px + 12px + + 460px + 30px + + \ No newline at end of file diff --git a/OCH/mogo-och/src/main/res/values/dimens.xml b/OCH/mogo-och/src/main/res/values/dimens.xml index c08ce46182..f20425eba8 100644 --- a/OCH/mogo-och/src/main/res/values/dimens.xml +++ b/OCH/mogo-och/src/main/res/values/dimens.xml @@ -12,9 +12,16 @@ 24px 300px 100px + 108px 108px + 35px + + 30px + 300px + 270px + 30px 13px 12px diff --git a/modules/mogo-module-common/src/main/res/raw/motorbike.n3d b/modules/mogo-module-common/src/main/res/raw/motorbike.n3d index 8e1ca5958a..dc95af0f2c 100644 Binary files a/modules/mogo-module-common/src/main/res/raw/motorbike.n3d and b/modules/mogo-module-common/src/main/res/raw/motorbike.n3d differ