@Override
public void showMap(String location) {
String url = Constants.STATIC_MAPS_URL_FIRST +
location + Constants.STATIC_MAPS_URL_SECOND +
location + Constants.STATIC_MAPS_URL_THIRD +
mapsApiKey;
mapDialog = new MaterialDialog.Builder(this)
.customView(R.layout.map_image, false)
.contentGravity(GravityEnum.CENTER)
.build();
View imageView = mapDialog.getCustomView();
Picasso.with(MainActivity.this).load(url).into((ImageView) imageView);
mapDialog.show();
}
MainActivity.java 文件源码
java
阅读 43
收藏 0
点赞 0
评论 0
项目:Speculum-Android
作者:
评论列表
文章目录