diff --git a/gradle.properties b/gradle.properties index 477e0b1fd1..d3f9b6fffd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -68,7 +68,7 @@ MOGO_MODULE_ONLINECAR_VERSION=1.0.3.2 # v2x MOGO_MODULE_V2X_VERSION=1.0.7 # 媒体卡片 -MOGO_MODULE_MEDIA_VERSION=1.0.4.3 +MOGO_MODULE_MEDIA_VERSION=1.0.4.4 # 推送 MOGO_MODULE_PUSH_VERSION=1.0.1 # 广告资源位 diff --git a/modules/mogo-module-apps/src/main/java/com/mogo/module/apps/AppsListActivity.java b/modules/mogo-module-apps/src/main/java/com/mogo/module/apps/AppsListActivity.java index 82dd3d7976..f863039ccd 100644 --- a/modules/mogo-module-apps/src/main/java/com/mogo/module/apps/AppsListActivity.java +++ b/modules/mogo-module-apps/src/main/java/com/mogo/module/apps/AppsListActivity.java @@ -2,8 +2,11 @@ package com.mogo.module.apps; import android.app.Activity; import android.content.Intent; +import android.graphics.Color; +import android.os.Build; import android.os.Bundle; import android.view.View; +import android.view.WindowManager; import androidx.annotation.NonNull; import androidx.annotation.Nullable; @@ -35,6 +38,10 @@ public class AppsListActivity extends MvpActivity< AppsListView, AppsListPresent @Override protected void onCreate( @Nullable Bundle savedInstanceState ) { overridePendingTransition( R.anim.module_apps_anim_enter, 0); + getWindow().addFlags( WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); + if ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP ) { + getWindow().setStatusBarColor( Color.BLACK ); + } super.onCreate( savedInstanceState ); } diff --git a/modules/mogo-module-common/src/main/res/drawable/moddule_commons_shape_react_blue_grident.xml b/modules/mogo-module-common/src/main/res/drawable/moddule_commons_shape_react_blue_grident.xml index 3c91cb81a9..a1038a702d 100644 --- a/modules/mogo-module-common/src/main/res/drawable/moddule_commons_shape_react_blue_grident.xml +++ b/modules/mogo-module-common/src/main/res/drawable/moddule_commons_shape_react_blue_grident.xml @@ -8,7 +8,7 @@ android:startColor="#5CC1FF" /> diff --git a/modules/mogo-module-common/src/main/res/drawable/module_commons_shape_react_gray_grident.xml b/modules/mogo-module-common/src/main/res/drawable/module_commons_shape_react_gray_grident.xml index 5d90ff43e3..d570e1ef36 100644 --- a/modules/mogo-module-common/src/main/res/drawable/module_commons_shape_react_gray_grident.xml +++ b/modules/mogo-module-common/src/main/res/drawable/module_commons_shape_react_gray_grident.xml @@ -5,7 +5,7 @@ android:angle="180" android:endColor="#50526E" android:startColor="#333F4057" /> - + diff --git a/modules/mogo-module-common/src/main/res/drawable/module_commons_shape_round_gray.xml b/modules/mogo-module-common/src/main/res/drawable/module_commons_shape_round_gray.xml index 37f8498d8c..f4bb94cb0a 100644 --- a/modules/mogo-module-common/src/main/res/drawable/module_commons_shape_round_gray.xml +++ b/modules/mogo-module-common/src/main/res/drawable/module_commons_shape_round_gray.xml @@ -1,7 +1,7 @@ - + diff --git a/modules/mogo-module-common/src/main/res/layout/module_commons_layout_wm_dialog.xml b/modules/mogo-module-common/src/main/res/layout/module_commons_layout_wm_dialog.xml index ae4839f484..bec43b7c93 100644 --- a/modules/mogo-module-common/src/main/res/layout/module_commons_layout_wm_dialog.xml +++ b/modules/mogo-module-common/src/main/res/layout/module_commons_layout_wm_dialog.xml @@ -4,6 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="#7f000000" android:layout_gravity="center"> - + \ No newline at end of file diff --git a/modules/mogo-module-extensions/src/main/res/layout/module_ext_layout_entrance.xml b/modules/mogo-module-extensions/src/main/res/layout/module_ext_layout_entrance.xml index 178a974615..d61d074b76 100644 --- a/modules/mogo-module-extensions/src/main/res/layout/module_ext_layout_entrance.xml +++ b/modules/mogo-module-extensions/src/main/res/layout/module_ext_layout_entrance.xml @@ -15,19 +15,20 @@ app:layout_constraintRight_toRightOf="parent" /> + app:constraint_referenced_ids="module_map_id_navi_next_info_road,module_map_id_navi_next_info_turn_info,module_map_id_navi_bg,module_map_id_navi_next_info_road_turn_icon,module_map_id_navi_next_info_distance,module_map_id_navi_next_info_distance_unit,remainDistanceGroup,remainTimeGroup,arriveTimeGroup" + tools:visibility="visible" /> + app:layout_constraintTop_toBottomOf="@id/module_entrance_id_top_container" /> @@ -113,6 +117,7 @@ android:text="3599" android:textColor="#F1F1F1" android:textSize="@dimen/module_ext_remaining_distance_textSize" + android:textStyle="bold" app:layout_constraintBottom_toTopOf="@+id/module_map_id_remaining_distance_notice" app:layout_constraintLeft_toLeftOf="@id/module_map_id_remaining_distance_icon" app:layout_constraintTop_toBottomOf="@+id/module_map_id_remaining_distance_icon" /> @@ -162,6 +167,7 @@ android:text="3599" android:textColor="#F1F1F1" android:textSize="@dimen/module_ext_remaining_time_textSize" + android:textStyle="bold" app:layout_constraintBottom_toTopOf="@id/module_map_id_remaining_time_notice" app:layout_constraintLeft_toLeftOf="@id/module_map_id_remaining_time_icon" app:layout_constraintTop_toBottomOf="@id/module_map_id_remaining_time_icon" /> @@ -211,6 +217,7 @@ android:text="3599" android:textColor="#F1F1F1" android:textSize="@dimen/module_ext_arrive_time_textSize" + android:textStyle="bold" app:layout_constraintBottom_toTopOf="@id/module_map_id_arrive_time_notice" app:layout_constraintLeft_toLeftOf="@id/module_map_id_arrive_time_icon" app:layout_constraintTop_toBottomOf="@+id/module_map_id_arrive_time_icon" /> @@ -236,9 +243,10 @@ android:gravity="center_horizontal" android:paddingTop="@dimen/dp_14" android:text="@string/mode_north_up" - android:visibility="gone" android:textColor="@color/white" android:textSize="@dimen/module_ext_north_textSize" + android:textStyle="bold" + android:visibility="gone" app:layout_constraintRight_toRightOf="@+id/module_entrance_id_upload_road_condition" app:layout_constraintTop_toBottomOf="@+id/module_map_id_navi_bg" app:layout_goneMarginTop="@dimen/module_ext_north_goneMarginTop" /> @@ -250,9 +258,10 @@ android:layout_height="@dimen/module_ext_button_height" android:layout_marginTop="@dimen/module_ext_camera_button_marginTop" android:background="@drawable/module_ext_dw_common_corner_bkg" - android:gravity="center" android:orientation="vertical" + android:gravity="center_horizontal" android:visibility="gone" + tools:visibility="visible" app:layout_constraintLeft_toLeftOf="@+id/module_map_id_navi_bg" app:layout_constraintTop_toBottomOf="@+id/module_map_id_navi_bg"> @@ -260,16 +269,18 @@ android:id="@+id/module_ext_id_display_overview_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginTop="@dimen/module_ext_display_overview_icon_marginTop" android:src="@drawable/module_ext_ic_display_overview" /> + android:textSize="@dimen/module_ext_display_overview_textSize_large" + android:textStyle="bold" /> + android:textSize="@dimen/module_ext_operation_panel_share_textSize" + android:textStyle="bold" + tools:visibility="gone" /> + android:visibility="gone" + tools:visibility="visible" /> diff --git a/modules/mogo-module-extensions/src/main/res/values-ldpi/dimens.xml b/modules/mogo-module-extensions/src/main/res/values-ldpi/dimens.xml index e2f012b564..4b12bf8642 100644 --- a/modules/mogo-module-extensions/src/main/res/values-ldpi/dimens.xml +++ b/modules/mogo-module-extensions/src/main/res/values-ldpi/dimens.xml @@ -119,18 +119,23 @@ 8px - 534px - 100px - 68px - 32px + 526px + 150px + 15px + 82px 16px 142px 66px 66px 16px - 14px + 12px + 14px 14px 18px 58px 58px + 3dp + 10px + 6px + 10px \ No newline at end of file diff --git a/modules/mogo-module-extensions/src/main/res/values-xhdpi/dimens.xml b/modules/mogo-module-extensions/src/main/res/values-xhdpi/dimens.xml index 173199225f..6492e48a25 100644 --- a/modules/mogo-module-extensions/src/main/res/values-xhdpi/dimens.xml +++ b/modules/mogo-module-extensions/src/main/res/values-xhdpi/dimens.xml @@ -116,19 +116,24 @@ 15px - 952px - 170px - 122px - 61px + 950px + 270px + 30px + 150px 240px 30px 120px 120px 30px 22px + 28px 28px 30px 90px 90px + 6dp + 15px + 10px + 20px \ No newline at end of file diff --git a/modules/mogo-module-extensions/src/main/res/values/dimens.xml b/modules/mogo-module-extensions/src/main/res/values/dimens.xml index dbd4d79f5a..c61cb347c0 100644 --- a/modules/mogo-module-extensions/src/main/res/values/dimens.xml +++ b/modules/mogo-module-extensions/src/main/res/values/dimens.xml @@ -113,19 +113,24 @@ 15px - 952px - 170px - 122px - 61px + 950px + 270px + 30px + 150px 30px 240px 120px 120px 30px 22px + 28px 28px 30px 90px 90px + 6dp + 15px + 10px + 20px \ No newline at end of file diff --git a/modules/mogo-module-main/src/main/res/drawable/module_main_dw_left_frame_bkg.xml b/modules/mogo-module-main/src/main/res/drawable/module_main_dw_left_frame_bkg.xml index a35cb8952b..bf95c3f61e 100644 --- a/modules/mogo-module-main/src/main/res/drawable/module_main_dw_left_frame_bkg.xml +++ b/modules/mogo-module-main/src/main/res/drawable/module_main_dw_left_frame_bkg.xml @@ -2,10 +2,7 @@ - + \ No newline at end of file diff --git a/modules/mogo-module-map/src/main/res/values-ldpi/dimens.xml b/modules/mogo-module-map/src/main/res/values-ldpi/dimens.xml index bcf618205a..6733552430 100644 --- a/modules/mogo-module-map/src/main/res/values-ldpi/dimens.xml +++ b/modules/mogo-module-map/src/main/res/values-ldpi/dimens.xml @@ -6,8 +6,8 @@ 80px - 534px - 100px - 68px - 32px + 526px + 150px + 15px + 82px \ No newline at end of file diff --git a/modules/mogo-module-map/src/main/res/values-xhdpi/dimens.xml b/modules/mogo-module-map/src/main/res/values-xhdpi/dimens.xml index 2d58420a11..1c72cd5442 100644 --- a/modules/mogo-module-map/src/main/res/values-xhdpi/dimens.xml +++ b/modules/mogo-module-map/src/main/res/values-xhdpi/dimens.xml @@ -6,8 +6,8 @@ 80px - 952px - 170px - 122px - 61px + 950px + 270px + 30px + 150px \ No newline at end of file diff --git a/modules/mogo-module-map/src/main/res/values/dimens.xml b/modules/mogo-module-map/src/main/res/values/dimens.xml index 4cf55c67a5..8967e403d1 100644 --- a/modules/mogo-module-map/src/main/res/values/dimens.xml +++ b/modules/mogo-module-map/src/main/res/values/dimens.xml @@ -6,8 +6,8 @@ 61px 80px - 952px - 170px - 122px - 61px + 950px + 270px + 30px + 150px \ No newline at end of file diff --git a/modules/mogo-module-search/src/main/res/layout/fragment_navi_setting.xml b/modules/mogo-module-search/src/main/res/layout/fragment_navi_setting.xml index 821c7aafa5..b06ddec62c 100644 --- a/modules/mogo-module-search/src/main/res/layout/fragment_navi_setting.xml +++ b/modules/mogo-module-search/src/main/res/layout/fragment_navi_setting.xml @@ -3,500 +3,459 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" - android:clickable="true" android:background="#2D2E3D" + android:clickable="true" android:orientation="vertical" > - - - - - - - - - - - - + android:layout_height="@dimen/dp_80" + android:layout_gravity="center_horizontal" + android:layout_marginLeft="@dimen/dp_60" + android:layout_marginTop="@dimen/dp_30" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintTop_toTopOf="parent"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_height="@dimen/dp_80" + android:layout_centerVertical="true" + android:src="@mipmap/icon_back" /> - - - + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_marginLeft="@dimen/dp_20" + android:layout_toRightOf="@id/iv_back" + android:text="@string/navi_setting" + android:textColor="@color/white" + android:textSize="@dimen/txt_title" /> - + + - + - - - + - + - + + + - + - - + - + - - + + /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/modules/mogo-module-search/src/main/res/values-ldpi/dimens.xml b/modules/mogo-module-search/src/main/res/values-ldpi/dimens.xml index a081fa12ab..4a805f7462 100644 --- a/modules/mogo-module-search/src/main/res/values-ldpi/dimens.xml +++ b/modules/mogo-module-search/src/main/res/values-ldpi/dimens.xml @@ -45,6 +45,6 @@ 96px 56px 100px - 18dp + 18px \ No newline at end of file diff --git a/modules/mogo-module-search/src/main/res/values-xhdpi/dimens.xml b/modules/mogo-module-search/src/main/res/values-xhdpi/dimens.xml index ed3dae2497..e55d924738 100644 --- a/modules/mogo-module-search/src/main/res/values-xhdpi/dimens.xml +++ b/modules/mogo-module-search/src/main/res/values-xhdpi/dimens.xml @@ -42,6 +42,6 @@ 184px 104px 154px - 32dp + 32px \ No newline at end of file diff --git a/modules/mogo-module-search/src/main/res/values/dimens.xml b/modules/mogo-module-search/src/main/res/values/dimens.xml index ae0a7b7fe8..ada5a8de74 100644 --- a/modules/mogo-module-search/src/main/res/values/dimens.xml +++ b/modules/mogo-module-search/src/main/res/values/dimens.xml @@ -45,7 +45,7 @@ 184px 104px 154px - 32dp + 32px \ No newline at end of file diff --git a/modules/mogo-module-service/src/main/java/com/mogo/module/service/marker/MogoMarkerServiceImpl.java b/modules/mogo-module-service/src/main/java/com/mogo/module/service/marker/MogoMarkerServiceImpl.java index f964562c48..28cddde085 100644 --- a/modules/mogo-module-service/src/main/java/com/mogo/module/service/marker/MogoMarkerServiceImpl.java +++ b/modules/mogo-module-service/src/main/java/com/mogo/module/service/marker/MogoMarkerServiceImpl.java @@ -16,7 +16,7 @@ import com.mogo.utils.logger.Logger; * @author congtaowang * @since 2020-05-27 *

- * 描述 + * 调用 #mogo-module-service# 模块的样式打点 */ @Route( path = MogoServicePaths.PATH_MARKER_SERVICE ) public class MogoMarkerServiceImpl implements IMogoMarkerService { @@ -27,9 +27,9 @@ public class MogoMarkerServiceImpl implements IMogoMarkerService { @Override public IMogoMarker drawMarker( Object object ) { if ( object instanceof MarkerShowEntity ) { - return MarkerServiceHandler.drawMapMarker( ( ( MarkerShowEntity ) object ) ); + return MarkerServiceHandler.getMapMarkerManager().drawMapMarker( ( ( MarkerShowEntity ) object ) ); } - Logger.w(TAG, "object must instance of [com.mogo.module.common.entity.MarkerShowEntity]"); + Logger.w( TAG, "object must instance of [com.mogo.module.common.entity.MarkerShowEntity]" ); return null; } diff --git a/modules/mogo-module-service/src/main/res/drawable/bg_shape_reverse_triangle_grey.xml b/modules/mogo-module-service/src/main/res/drawable/bg_shape_reverse_triangle_grey.xml index 67f37a98a6..9320416f62 100644 --- a/modules/mogo-module-service/src/main/res/drawable/bg_shape_reverse_triangle_grey.xml +++ b/modules/mogo-module-service/src/main/res/drawable/bg_shape_reverse_triangle_grey.xml @@ -10,7 +10,7 @@ - + diff --git a/modules/mogo-module-service/src/main/res/layout/view_map_marker_info.xml b/modules/mogo-module-service/src/main/res/layout/view_map_marker_info.xml index 60e1764d48..1917bf59ae 100644 --- a/modules/mogo-module-service/src/main/res/layout/view_map_marker_info.xml +++ b/modules/mogo-module-service/src/main/res/layout/view_map_marker_info.xml @@ -37,7 +37,7 @@ android:layout_width="@dimen/dp_60" android:layout_height="@dimen/dp_60" android:layout_gravity="center" - android:layout_marginLeft="@dimen/dp_10" + android:layout_marginLeft="@dimen/dp_15" android:visibility="invisible" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent"