I have a GoogleMaps object and I want to hide it when the phone is not connected to the internet. GoogleMaps V2
Asked
Active
Viewed 74 times
0
-
what is your question ? have you tried anything ? – N Sharma Dec 27 '14 at 09:40
-
possible duplicate of [Google Map api 2 how to show/hide GoogleMap?](http://stackoverflow.com/questions/16936624/google-map-api-2-how-to-show-hide-googlemap) – Sufiyan Ghori Dec 27 '14 at 09:40
-
I've tried the first solution from this question but Android Studio says: expected Fragment found com.....GoogleMap – Krisztian Dec 27 '14 at 12:02
1 Answers
0
I've found a possible solution, I put it in a liearlayout then I can hide this layout:
mLinearLayout.setVisibility(View.INVISIBLE);

Krisztian
- 373
- 1
- 3
- 15