I am trying to use the latest Map API 2.0 provided for Android. I am using the Support Library as I want to support Android 2.2. Following is my code:
Main A
Use dialog.SetContentView() method in your activity's onCreate() cause when we tring to load.
dialog.SetContentView()
onCreate()
Dialog again it loads only dialog not the whole activity life cycle and leads it to exception of Duplicate id.
Try it.