- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 Android 代码里设置ImageView的src和background
设置ImageView的src:image.setImageDrawable(getResources().getDrawable(R.drawable.blackk));String path=Environment.getExternalStorageDirectory()+File.separator+”test.jpg”;Bitmap bm = BitmapFactory.deco
2017-05-04 15:23:41 19175
原创 Android 判断ImageView使用的图片是drawable文件夹下的某个图片
if(statusImageView.getDrawable().getCurrent().getConstantState()==getResources().getDrawable(R.drawable.icon_correct).getConstantState()){}//icon_correct为图片名称
2017-05-04 15:18:02 3702
JSONObject所用jar包
2017-03-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人