04 2017 档案

摘要:MapView mapView= (MapView) findViewById(R.id.home_map_view); mapView.showScaleControl(false); // 设置比例尺是否可见(true 可见/false不可见)mapView.showZoomControls(f 阅读全文
posted @ 2017-04-15 15:24 风如故 阅读(900) 评论(0) 推荐(0)
摘要:方法1: 在xml文件中设置 android:drawableLeft="@drawable/lock_open"android:drawableTop="@drawable/lock_open"android:drawableRight="@drawable/lock_open"android:d 阅读全文
posted @ 2017-04-14 10:50 风如故 阅读(354) 评论(0) 推荐(0)
摘要:java.lang.NoSuchMethodError: android.content.res.Resources.getDrawable/getColor 异常错误。 原因:Context类的getDrawable(res)/geColor(res)方法和Resources的getDrawabl 阅读全文
posted @ 2017-04-13 10:39 风如故 阅读(700) 评论(0) 推荐(0)