Titanium Community Questions & Answer Archive

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

Titanium.UI.Toolbar "Not Yet Implemented for Android"


when I use my IPhone App under Android I get a "Not Yet Implemented for Android". I was hoping for platform independency when I started developing with Titanium :(

When is this going to be implemented? Is there a short term solution providing similar functionality (a bar sticking over or under the window controlling the window content). ButtonBar is also not working under Android… (throws a NullPointer…)

— asked September 23rd 2010 by Daniel Goergen
  • android
  • mobile
  • toolbar
  • I was also hoping for platform independence. The first time I ran my app on iPhone it looked very different from Android :(

    — commented October 20th 2010 by David Smith
  • I've noticed that with Titanium Mobile SDK 1.4.3 the Titanium.UI.Toolbar seems to work perfectly fine on the Android emulator SDK APIs 2.2 with absolutely no problem BUT the message "Not Yet Implemented for Android" still comes up underneath my buttons. Anyone know how to hide this?

    — commented December 1st 2010 by Daniel Christos
  • I know it's a bit of hack but what I ended up doing was to add a Titanium.UI.View as a child of the Titanium.UI.Toolbar and then added my toolbar's content to the view. I guess it's just a temporary hack until Titanium fully supports Titanium.UI.Toolbar's on Android.

    — commented December 1st 2010 by Daniel Christos
  • Hi, Daniel, I'm fairly new to Titanium Mobile. Your suggestion to use a View for Toolbars seems very useful for us. Could you please give us a few lines of example code how to achieve this exactly? Thank!

    — commented December 6th 2010 by Mark Ruys
  • 12 months later and this message is still present in Titanium SDK 1.7.2. Does anyone have any idea of when this might be fixed?

    — commented October 14th 2011 by Chris Dunstall

2 Answers

  • Fake it with a view, I did so and works nice( the toolbar)

    — answered September 23rd 2010 by Dan Tamas
    1 Comment
    • Is toolbar working in android?

      — commented November 17th 2010 by Andrew Remigius
  • I have the same problem with toolbar, how did you do that with view?

    — answered February 28th 2011 by aida nn
    1 Comment
    • Make a backgroundColor/Image, then just add in the Buttons to the View that are positioned correctly. Toolbar is just a view that does everything for you easily.

      — commented February 28th 2011 by Colton Arabsky
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.