android map in fragment
I am trying to create a android app that has one activity and multiple fragments. Each fragment will ocupy the entire screen when it is in view and with a replace transaction it should be switched to another fragment. <FrameLayout android:id="@+id/content_frame" android:layout_width="match_parent" android:layout_height="match_parent" /> This is the container for the fragments. The problem is that a fragment that I want to use is a GoogleMap. This is my code for the map fragment: public class Map extends Fragment{ private final static String TAG = "MAP Fragment"; public GoogleMap googleMap =