我在我的应用程序中使用 mapsforge 离线地图,我想显示这样的地图:
我尝试将 MapView 的背景设置为圆形,如下所示:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<size
android:width="120dp"
android:height="120dp"/>
</shape>
但它不起作用..有什么建议吗?