I am developing an app with ArcGIS Runtime SDK for Android 100.6.0. I used a MapView to show the ArcGis Map.
MapView mv = new MapView(...);
ArcGISMap map = new ArcGISMap(...);
mv.setMap(map);
It works perfectly as I want. But when I tryied to resize the map to the bottom half of the app, the zoom behavior works weird. Map zooming is off-centered, it looks like the center point is at bottom of the MapView.
I tried to set 1. height and topMargin, 2. height and gravity:Bottom to resize the MapView, both solutions work the same.
I also tried using setViewPointCenterasync and setViewPoint in DefaultMapViewOnTouchListener.OnScale event, doesn't work neither.
Does anyone know how to make the zoom behavior works correct when MapView is at bottom of the app?