动画谷歌地图(SupportMapFragement)

时间:2013-03-05 07:54:25

标签: android animation google-maps-android-api-2 supportmapfragment

我在我的应用程序中使用GoogleMap API V2,现在我想使用map layoutFade_IN动画为整个Fade_OUT制作动画,但是当我测试我的应用程序时,它只是动画地图叠加层我的意思是地图表面上的按钮,而不是整个地图。

如果有人知道如何设置整个地图布局的动画,请帮助我,任何帮助都会让人感到欣慰。

FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();


transaction.setCustomAnimations(android.R.anim.fade_in, android.R.anim.fade_out);
// Commit the transaction
transaction.commit();

0 个答案:

没有答案