I want to repeat image in a layout. Number of times the image should be repeated , will be given dynamically. Image should be displayed Horizontally. How can I do this?
Please help me. Looking for your reply. Thanks.
I want to repeat image in a layout. Number of times the image should be repeated , will be given dynamically. Image should be displayed Horizontally. How can I do this?
Please help me. Looking for your reply. Thanks.
Not most efficient ways:
either you can create a single instance of you bitmap and set this in multiple imageviews created at runtime in a linear layout added in XMl.
or Override a view and draw the image using canvas multiple time at runtime.
You can follow this
http://androidblogger.blogspot.in/2009/01/how-to-have-tiled-background-cont.html