Hi, does anyone know how to restrict a maps panning to an area?
While untested, I believe that the setMaxExtent() method may give you the right answer:
MapView | ArcGIS Android 10.2.8 API
The documentation says the following:
Sets the boundary extent of the map. The boundary extent imposes an restriction on the viewable area of the map. The center of the map can not go beyond boundary extent when you navigate the map.
I hope this helps!