IllegalStateException: View size is too small after padding
I am developing an android app. In this app I am showing a MapView in a fragment. If my device is rotated and I try to move the camera using one of the following methods: mapa.animateCamera(cameraUpdate); or mapa.moveCamera(cameraUpdate); Then my app crashes and shows the following error: java.lang.IllegalStateException: View size is too small after padding at com.google.a.a.ab.b(Unknown Source) at com.google.maps.api.android.lib6.gmm6.c.a.a(Unknown Source) at com.google.maps.api.android.lib6.gmm6.c.a.a(Unknown Source) at com.google.maps.api.android.lib6.d.dw.a(Unknown Source) at com.google