Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Any way to get a Mail-like blue dot as the leftImage?

I'd like to have unread items in my TableView rows marked like Apple does in Mail.app - is there any way to get access to the blue dot image natively in Titanium Mobile, or do I need to find/create an image on my own?

— asked March 21st 2010 by Wade Minter
  • iphone
  • mobile
0 Comments

1 Answer

  • You could simply round a view with your color.

    var x = Ti.UI.createView({
        borderColor:'#009',
        borderWidth:2,
        backgroundColor:'#000044',
        borderRadius:12,
        height:10,
        width:10
    });
    

    Or, you could also supply an image too.

    — answered March 21st 2010 by Jeff Haynie
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.