Titanium Community Questions & Answer Archive

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

System Icons on Android


How to put a standard system icon into an option menu item on Android?

I found this post:

But, it doesn't work. Probably because Titanium.UI.Android.SystemIcon object doesn't exist.

However, using the values directly, like 'ti:Sys:ic_menu_preferences' does the trick.

BUT, title of the options menu item disappears (!), so the icon stretches to fill the empty space (doesn't look good).

Is this really planned for 1.6? (see ticket below, please).
I mean how hard is it do re-declare these constants in the code when string values used directly already work? Just fix the bug with title not showing and this is it. Right?


— asked October 6th 2010 by Vitaly Kravchenko
  • android
  • icon
  • system

1 Answer

  • any updates on this issue?

    — answered January 18th 2011 by Aaron Saunders
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.