[add] UI优化
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
package com.mogo.eagle.core.function.overview
|
||||
|
||||
class OverViewManager private constructor() {
|
||||
|
||||
private object Holder {
|
||||
val INSTANCE = OverViewManager()
|
||||
}
|
||||
|
||||
companion object {
|
||||
val instance by lazy(LazyThreadSafetyMode.SYNCHRONIZED) {
|
||||
Holder.INSTANCE
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -200,6 +200,10 @@ public class AMapCustomView
|
||||
options.setNaviNight(true);
|
||||
//导航全程光柱
|
||||
options.setTrafficBarEnabled(false);
|
||||
//隐藏摄像头
|
||||
options.setCameraBubbleShow(false);
|
||||
//转向箭头
|
||||
options.setNaviArrowVisible(false);
|
||||
//指南针
|
||||
// options.setCompassEnabled(false);
|
||||
// options.setTilt((int) tilt);
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
@@ -24,12 +24,15 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/overLayer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/dp_150"
|
||||
android:layout_height="@dimen/dp_150"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@color/blue"
|
||||
android:text="全览模式"
|
||||
android:background="@drawable/amap_reset"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginRight="@dimen/dp_100"
|
||||
android:layout_marginBottom="@dimen/dp_100"
|
||||
android:textColor="@drawable/white"
|
||||
android:textSize="@dimen/dp_34" />
|
||||
</RelativeLayout>
|
||||
@@ -42,5 +45,4 @@
|
||||
android:src="@drawable/module_small_map_view_border_north"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
</merge>
|
||||
@@ -10,6 +10,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="30px"
|
||||
android:layout_marginBottom="30px"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user