[android-developers] Re: Listview of programmatically created Drawables

2012-04-02 Thread Gene
Thanks. I ended up wrapping the Drawable in a custom View. It wasn't hard and I can control the appearance with custom attributes, which is very nice. On Mar 25, 3:41 am, Kostya Vasilyev wrote: > Set them as background objects for some views that appear in your item > layouts. > > Or use image v

[android-developers] Re: Listview of programmatically created Drawables

2012-03-25 Thread tomc_apadmi
I haven't done anyting like what you are trying before but my best guess would be to create your own custom view overriding onDraw(). The below link might be useful. http://stackoverflow.com/questions/2763572/override-ondraw-to-change-how-the-drawing-occurs-android -- You received this message

Re: [android-developers] Re: Listview of programmatically created Drawables

2012-03-25 Thread Kostya Vasilyev
Set them as background objects for some views that appear in your item layouts. Or use image views and set them as 'src' images (this way you'll have better control over scaling and clipping). 25.03.2012 5:29 пользователь "Gene" написал: > How can you get programmed stroked Drawables (not bitma

[android-developers] Re: Listview of programmatically created Drawables

2012-03-24 Thread Gene
How can you get programmed stroked Drawables (not bitmaps) to appear in the lines of a ListView? On Mar 23, 1:36 am, TreKing wrote: > On Thu, Mar 22, 2012 at 9:42 PM, Gene wrote: > > ListView seems to be the way to go, but I can't grok how to make > > other-than-bitmaps appear in ListView items.