2013-07-01 29 views
2

我使用谷歌地圖v2顯示地圖上的第三個選項卡。並使用videoview播放視頻在app.When應用程序從地圖的選項卡導航到視頻的選項卡,地圖片段獲取重疊的視頻如圖所示隱藏地圖片段變化的標籤

enter image description here

請提出解決方案,隱藏標籤導航地圖片段。

回答

2

我有這個問題,但我修好了。把你的地圖放在佈局中。並在地圖活動中調用mapLayout.removeAllViews();在onPause()方法中。

@Override 
protected void onPause() { 
    // TODO Auto-generated method stub 
    super.onPause(); 

    mapLayout.removeAllViews(); 

} 
+0

謝謝佐勒菲卡爾Chandio :) – Madhuri

0

也許你可以以編程方式將其刪除:

FragmentManager manager = getSupportFragmentManager(); 
FragmentTransaction ft = manager.beginTransaction(); 
ft.remove(mapFragment); 
ft.commit();