replace home icon
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
package com.mogo.module.extensions.entrance;
|
package com.mogo.module.extensions.entrance;
|
||||||
|
|
||||||
import android.graphics.BitmapFactory;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@@ -11,15 +10,12 @@ import androidx.annotation.Nullable;
|
|||||||
import androidx.fragment.app.Fragment;
|
import androidx.fragment.app.Fragment;
|
||||||
|
|
||||||
import com.alibaba.android.arouter.launcher.ARouter;
|
import com.alibaba.android.arouter.launcher.ARouter;
|
||||||
import com.mogo.commons.analytics.AnalyticsUtils;
|
|
||||||
import com.mogo.commons.mvp.MvpFragment;
|
import com.mogo.commons.mvp.MvpFragment;
|
||||||
import com.mogo.commons.storage.SpStorage;
|
|
||||||
import com.mogo.map.MogoLatLng;
|
import com.mogo.map.MogoLatLng;
|
||||||
import com.mogo.map.listener.IMogoMapListener;
|
import com.mogo.map.listener.IMogoMapListener;
|
||||||
import com.mogo.map.location.IMogoLocationClient;
|
import com.mogo.map.location.IMogoLocationClient;
|
||||||
import com.mogo.map.location.MogoLocation;
|
import com.mogo.map.location.MogoLocation;
|
||||||
import com.mogo.map.marker.IMogoMarkerManager;
|
import com.mogo.map.marker.IMogoMarkerManager;
|
||||||
import com.mogo.map.marker.MogoMarkerOptions;
|
|
||||||
import com.mogo.map.model.MogoPoi;
|
import com.mogo.map.model.MogoPoi;
|
||||||
import com.mogo.map.navi.IMogoNavi;
|
import com.mogo.map.navi.IMogoNavi;
|
||||||
import com.mogo.map.navi.IMogoNaviListener;
|
import com.mogo.map.navi.IMogoNaviListener;
|
||||||
@@ -33,7 +29,6 @@ import com.mogo.module.extensions.R;
|
|||||||
import com.mogo.module.extensions.dialog.NaviNoticeDialog;
|
import com.mogo.module.extensions.dialog.NaviNoticeDialog;
|
||||||
import com.mogo.module.extensions.navi.NaviInfoView;
|
import com.mogo.module.extensions.navi.NaviInfoView;
|
||||||
import com.mogo.module.share.ShareControl;
|
import com.mogo.module.share.ShareControl;
|
||||||
import com.mogo.module.share.dialog.LaucherShareDialog;
|
|
||||||
import com.mogo.service.MogoServicePaths;
|
import com.mogo.service.MogoServicePaths;
|
||||||
import com.mogo.service.fragmentmanager.FragmentDescriptor;
|
import com.mogo.service.fragmentmanager.FragmentDescriptor;
|
||||||
import com.mogo.service.fragmentmanager.IMogoFragmentManager;
|
import com.mogo.service.fragmentmanager.IMogoFragmentManager;
|
||||||
@@ -41,10 +36,6 @@ import com.mogo.service.map.IMogoMapService;
|
|||||||
import com.mogo.service.module.IMogoAddressManager;
|
import com.mogo.service.module.IMogoAddressManager;
|
||||||
import com.mogo.service.module.IMogoModuleProvider;
|
import com.mogo.service.module.IMogoModuleProvider;
|
||||||
import com.mogo.service.module.IMogoRegisterCenter;
|
import com.mogo.service.module.IMogoRegisterCenter;
|
||||||
import com.mogo.service.windowview.IMogoWindowManager;
|
|
||||||
import com.mogo.utils.TipToast;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author congtaowang
|
* @author congtaowang
|
||||||
@@ -101,6 +92,7 @@ public class EntranceFragment extends MvpFragment< EntranceView, EntrancePresent
|
|||||||
protected void initViews() {
|
protected void initViews() {
|
||||||
mMogoFragmentManager = ( IMogoFragmentManager ) ARouter.getInstance().build( MogoServicePaths.PATH_FRAGMENT_MANAGER ).navigation();
|
mMogoFragmentManager = ( IMogoFragmentManager ) ARouter.getInstance().build( MogoServicePaths.PATH_FRAGMENT_MANAGER ).navigation();
|
||||||
mMogoAddressManager = ( IMogoAddressManager ) ARouter.getInstance().build( MogoServicePaths.PATH_ADDRESS_MANAGER ).navigation();
|
mMogoAddressManager = ( IMogoAddressManager ) ARouter.getInstance().build( MogoServicePaths.PATH_ADDRESS_MANAGER ).navigation();
|
||||||
|
|
||||||
mCommonAddress = findViewById( R.id.module_entrance_id_common_address );
|
mCommonAddress = findViewById( R.id.module_entrance_id_common_address );
|
||||||
|
|
||||||
mSearch = findViewById( R.id.module_entrance_id_search );
|
mSearch = findViewById( R.id.module_entrance_id_search );
|
||||||
@@ -154,7 +146,6 @@ public class EntranceFragment extends MvpFragment< EntranceView, EntrancePresent
|
|||||||
mSpeedLimit = findViewById( R.id.module_entrance_id_speed_limit_container );
|
mSpeedLimit = findViewById( R.id.module_entrance_id_speed_limit_container );
|
||||||
mSpeedLimitValue = findViewById( R.id.module_entrance_id_speed_limit_value );
|
mSpeedLimitValue = findViewById( R.id.module_entrance_id_speed_limit_value );
|
||||||
mSpeedLimitUnit = findViewById( R.id.module_entrance_id_speed_limit_unit );
|
mSpeedLimitUnit = findViewById( R.id.module_entrance_id_speed_limit_unit );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 396 B |
BIN
modules/mogo-module-extensions/src/main/res/drawable-xhdpi/module_map_ic_home.png
Normal file → Executable file
BIN
modules/mogo-module-extensions/src/main/res/drawable-xhdpi/module_map_ic_home.png
Normal file → Executable file
Binary file not shown.
|
Before Width: | Height: | Size: 831 B After Width: | Height: | Size: 588 B |
@@ -129,7 +129,7 @@
|
|||||||
android:layout_height="@dimen/module_ext_operation_panel_vr_height"
|
android:layout_height="@dimen/module_ext_operation_panel_vr_height"
|
||||||
android:background="@drawable/module_ext_dw_top_corner_bkg"
|
android:background="@drawable/module_ext_dw_top_corner_bkg"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:visibility="gone">
|
android:visibility="visible">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|||||||
Reference in New Issue
Block a user