开发者

Display multiple image in image view

I'm currently working on a calender project, in that i want to display multiple images in image开发者_如何转开发view, that images that i have to display stored in asset and there(image) refrences stored in sqlite database we have to match the image and display the image in imageview.


One way to this use Canvas. Draw all the images you want on the canvas and then finally draw all the canvas data on a bitmap and set it in on the image view.

OR

You can also use multiple ImageViews and them programmatically as per your need. for eg:

ImageView iv = new ImageView(context);
view.addView(iv);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜