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>
讓我知道這是否幫助你。希望它有助於:]