Use Mapbox Android Services to build a url and download a static map
This example requires a second file: activity_mas_static_image.xml.
Static maps are standalone images that look like an embedded map without interactivity or controls. The example uses MAS to create a URL and OkHttp to download the image. You could also use a third-party library such as Picasso or Volley to handle the image request.