0
我有一个EditText在MapView上。现在当编辑文本时,我希望地图视图能够通过EditText元素(通过TranslateAnimation)。地图视图的转换工作正常,但似乎地图视图并未设计为需要翻译,因为在翻译之后,无法使用地图视图进行导航而不会显示错误。Android - MapView TranslationAnimation导致渲染错误
任何人都有同样的问题知道解决方案或有解决方法?
感谢
我有一个EditText在MapView上。现在当编辑文本时,我希望地图视图能够通过EditText元素(通过TranslateAnimation)。地图视图的转换工作正常,但似乎地图视图并未设计为需要翻译,因为在翻译之后,无法使用地图视图进行导航而不会显示错误。Android - MapView TranslationAnimation导致渲染错误
任何人都有同样的问题知道解决方案或有解决方法?
感谢
尝试包裹所有MapView
具有视角大,像这样:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<com.google.android.gms.maps.MapView
android:id="@+id/sherlock_map"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<View
android:id="@+id/dumberView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/transparent" />
</RelativeLayout>
让我知道这是否帮助你。希望它有助于:]