Android 旋转屏幕时如何保持地图覆盖
我已将自定义覆盖添加到地图,但当我更改屏幕方向时,覆盖将被删除。有人知道如何补救吗 之前: 之后:Android 旋转屏幕时如何保持地图覆盖,android,google-maps,overlay,screen-orientation,screen-rotation,Android,Google Maps,Overlay,Screen Orientation,Screen Rotation,我已将自定义覆盖添加到地图,但当我更改屏幕方向时,覆盖将被删除。有人知道如何补救吗 之前: 之后: 将纵向更改为横向时。它又上膛了 android:configChanges="orientation|screenSize" 在manifest.xml中添加上述代码
将纵向更改为横向时。它又上膛了
android:configChanges="orientation|screenSize"
在manifest.xml
中添加上述代码