开发者

How to set image for custom image view in android

Hi friends can anybody tell how to set image for custom image view dynamically in android can anybody give 开发者_C百科example

Thanks


If your custom image view extends the normal image view the setting should be exactly the same.


if you, like WarrenFaith said extend the normal image view, here's the code:

customImageView.setImageBitmap(mIcon1); 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜