diff --git a/.idea/misc.xml b/.idea/misc.xml index 2dc54c489f..707ee6e613 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/modules/mogo-module-extensions/src/main/res/drawable/module_map_ic_move2_current_location.png b/modules/mogo-module-extensions/src/main/res/drawable-ldpi/module_map_ic_move2_current_location.png similarity index 100% rename from modules/mogo-module-extensions/src/main/res/drawable/module_map_ic_move2_current_location.png rename to modules/mogo-module-extensions/src/main/res/drawable-ldpi/module_map_ic_move2_current_location.png diff --git a/modules/mogo-module-extensions/src/main/res/drawable-mdpi/module_map_ic_move2_current_location.png b/modules/mogo-module-extensions/src/main/res/drawable-mdpi/module_map_ic_move2_current_location.png new file mode 100644 index 0000000000..c1183aff8d Binary files /dev/null and b/modules/mogo-module-extensions/src/main/res/drawable-mdpi/module_map_ic_move2_current_location.png differ diff --git a/modules/mogo-module-share/src/main/java/com/mogo/module/share/dialog/LaucherShareDialog.java b/modules/mogo-module-share/src/main/java/com/mogo/module/share/dialog/LaucherShareDialog.java index 2153c9a17e..c00caf03df 100644 --- a/modules/mogo-module-share/src/main/java/com/mogo/module/share/dialog/LaucherShareDialog.java +++ b/modules/mogo-module-share/src/main/java/com/mogo/module/share/dialog/LaucherShareDialog.java @@ -1,19 +1,12 @@ package com.mogo.module.share.dialog; import android.content.Context; -import android.graphics.PixelFormat; -import android.os.Build; -import android.view.Gravity; -import android.view.LayoutInflater; import android.view.View; import android.view.WindowManager; import android.widget.TextView; -import androidx.annotation.NonNull; - import com.alibaba.android.arouter.launcher.ARouter; import com.mogo.module.common.dialog.BaseFloatDialog; -import com.mogo.module.common.utils.CarSeries; import com.mogo.module.share.R; import com.mogo.module.share.constant.ShareConstants; import com.mogo.module.share.manager.ISeekHelpListener; @@ -23,7 +16,6 @@ import com.mogo.service.IMogoServiceApis; import com.mogo.service.MogoServicePaths; import com.mogo.service.analytics.IMogoAnalytics; import com.mogo.service.statusmanager.IMogoStatusManager; -import com.mogo.utils.WindowUtils; import com.mogo.utils.logger.Logger; import java.util.HashMap; diff --git a/modules/mogo-module-share/src/main/res/drawable/module_share_title_icon_left.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/module_share_title_icon_left.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/module_share_title_icon_left.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/module_share_title_icon_left.png diff --git a/modules/mogo-module-share/src/main/res/drawable/module_share_title_icon_right.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/module_share_title_icon_right.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/module_share_title_icon_right.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/module_share_title_icon_right.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_accident.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_accident.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_accident.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_accident.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_block_up.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_block_up.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_block_up.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_block_up.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_dense_fog.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_dense_fog.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_dense_fog.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_dense_fog.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_real_time_traffic.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_real_time_traffic.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_real_time_traffic.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_real_time_traffic.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_road_closure.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_road_closure.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_road_closure.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_road_closure.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_road_construction.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_road_construction.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_road_construction.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_road_construction.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_road_icy.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_road_icy.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_road_icy.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_road_icy.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_seek_help.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_seek_help.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_seek_help.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_seek_help.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_stagnant_water.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_stagnant_water.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_stagnant_water.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_stagnant_water.png diff --git a/modules/mogo-module-share/src/main/res/drawable/share_traffic_check.png b/modules/mogo-module-share/src/main/res/drawable-ldpi/share_traffic_check.png similarity index 100% rename from modules/mogo-module-share/src/main/res/drawable/share_traffic_check.png rename to modules/mogo-module-share/src/main/res/drawable-ldpi/share_traffic_check.png diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/module_share_title_icon_left.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/module_share_title_icon_left.png new file mode 100644 index 0000000000..058a752bf6 Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/module_share_title_icon_left.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/module_share_title_icon_right.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/module_share_title_icon_right.png new file mode 100644 index 0000000000..bbcedd2484 Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/module_share_title_icon_right.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_accident.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_accident.png new file mode 100644 index 0000000000..9dd6d425c9 Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_accident.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_block_up.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_block_up.png new file mode 100644 index 0000000000..b504cffe87 Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_block_up.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_dense_fog.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_dense_fog.png new file mode 100644 index 0000000000..6a16103d0e Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_dense_fog.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_real_time_traffic.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_real_time_traffic.png new file mode 100644 index 0000000000..7defe6986d Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_real_time_traffic.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_closure.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_closure.png new file mode 100644 index 0000000000..d20dacee3a Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_closure.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_construction.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_construction.png new file mode 100644 index 0000000000..3c2ba1225c Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_construction.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_icy.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_icy.png new file mode 100644 index 0000000000..53585d40d1 Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_road_icy.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_seek_help.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_seek_help.png new file mode 100644 index 0000000000..30f26921aa Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_seek_help.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_stagnant_water.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_stagnant_water.png new file mode 100644 index 0000000000..f125b9f22e Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_stagnant_water.png differ diff --git a/modules/mogo-module-share/src/main/res/drawable-mdpi/share_traffic_check.png b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_traffic_check.png new file mode 100644 index 0000000000..1b5af5fe54 Binary files /dev/null and b/modules/mogo-module-share/src/main/res/drawable-mdpi/share_traffic_check.png differ diff --git a/modules/mogo-module-share/src/main/res/layout/launcher_dialog_share_2.xml b/modules/mogo-module-share/src/main/res/layout/launcher_dialog_share_2.xml index e3a6a7987d..f5012a4dce 100644 --- a/modules/mogo-module-share/src/main/res/layout/launcher_dialog_share_2.xml +++ b/modules/mogo-module-share/src/main/res/layout/launcher_dialog_share_2.xml @@ -2,8 +2,7 @@ + android:layout_height="match_parent">