Map fragment is black after resume
android, android-fragments, google-maps
Solution
Please try with the code which is given below:
@Override
public void onResume() {
super.onResume();
mapFragment.onResume();
}
Problem
I have application that have on her main screen map (v2) with buttons. These buttons after click run another application and this (main activity) is in stack. After in that another activity is called `finish()`,main activity is back in front. But after this, map fragment is black and it's not working. This is my fragment XML: ``` <fragment android:id="@+id/mapFragment" android:layout_width="100px" android:layout_height="100px" class="com.google.android.gms.maps.MapFragment" /> ``` And the only thing I'm doing is `setContentView(R.layout.new_main);` and nothing more. This problem is almost like mine: Android MapView v2 Black screen, and also with no answer.