lac*_*cas 2 android android-imageview
((ImageView) v.findViewById(R.id.imageViewHeart1)).setImageResource(R.drawable.heart);
Run Code Online (Sandbox Code Playgroud)
我想从我的图片资源中删除我的图片,所以:
((ImageView) v.findViewById(R.id.imageViewHeart1)).setImageResource(null);
Run Code Online (Sandbox Code Playgroud)
什么的,我怎么能这样做?
| 归档时间: |
|
| 查看次数: |
2350 次 |
| 最近记录: |