增加了自研地图填充小地图,但是圆形失效
This commit is contained in:
@@ -1,16 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.mogo.module.common.view.RoundLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/rlSmallMapBorder"
|
||||
android:layout_width="@dimen/module_mvision_view_width"
|
||||
android:layout_height="@dimen/module_mvision_view_height"
|
||||
android:layout_width="@dimen/module_small_map_border_view_width"
|
||||
android:layout_height="@dimen/module_small_map_border_view_width"
|
||||
android:background="#ffffff"
|
||||
app:roundLayoutRadius="360dp">
|
||||
|
||||
<com.mogo.module.common.view.RoundLayout
|
||||
android:id="@+id/rlSmallMapBorder"
|
||||
android:layout_width="@dimen/module_small_map_view_width"
|
||||
android:layout_height="@dimen/module_small_map_view_width"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="#3F51B5"
|
||||
app:roundLayoutRadius="360dp">
|
||||
|
||||
<com.mogo.module.small.map.SmallMapView
|
||||
android:id="@+id/module_mvision_map_view"
|
||||
android:layout_width="@dimen/module_small_map_view_width"
|
||||
android:layout_height="@dimen/module_small_map_view_width" />
|
||||
|
||||
</com.mogo.module.common.view.RoundLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivMapBorder"
|
||||
android:layout_width="@dimen/module_mvision_view_width"
|
||||
android:layout_height="@dimen/module_mvision_view_height"
|
||||
android:layout_width="@dimen/module_small_map_border_view_width"
|
||||
android:layout_height="@dimen/module_small_map_border_view_width"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@drawable/module_small_map_view_border" />
|
||||
|
||||
|
||||
</com.mogo.module.common.view.RoundLayout>
|
||||
@@ -1,12 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="module_mvision_view_width">400px</dimen>
|
||||
<dimen name="module_mvision_view_height">400px</dimen>
|
||||
<dimen name="module_mvision_view_x">1490px</dimen>
|
||||
<dimen name="module_mvision_view_y">650px</dimen>
|
||||
<dimen name="module_small_map_border_view_width">400px</dimen>
|
||||
<dimen name="module_small_map_border_view_height">400px</dimen>
|
||||
|
||||
<dimen name="module_mvision_big_view_x">0px</dimen>
|
||||
<dimen name="module_mvision_big_view_y">0px</dimen>
|
||||
<dimen name="module_mvision_big_view_width">1920px</dimen>
|
||||
<dimen name="module_mvision_big_view_height">1080px</dimen>
|
||||
<dimen name="module_small_map_view_width">300px</dimen>
|
||||
<dimen name="module_small_map_view_height">300px</dimen>
|
||||
<dimen name="module_small_map_view_x">1490px</dimen>
|
||||
<dimen name="module_small_map_view_y">650px</dimen>
|
||||
|
||||
<dimen name="module_small_map_big_view_x">0px</dimen>
|
||||
<dimen name="module_small_map_big_view_y">0px</dimen>
|
||||
<dimen name="module_small_map_big_view_width">1920px</dimen>
|
||||
<dimen name="module_small_map_big_view_height">1080px</dimen>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user