bilalq
bilalq

Reputation: 7679

Creating a title bar above a tabgroup in Titanium

I'm working on something in Titanium, and am having some difficulty trying to achieve this.

On the Android version, the tabgroup seems to be fixed to the top. I'm fine with that, but I do want the app's logo bar to be above that.

I'm trying to achieve something similar to what Twitter has for their Android app. They have their logo and a compose tweet button that exist above the tabgroup. Here's a screenshot for clarity: enter image description here

Is this even possible? If it can't be done with native tabGroups, is there some workaround that I could implement?

Thanks in advance!

Upvotes: 2

Views: 1939

Answers (1)

Jeff Bonnes
Jeff Bonnes

Reputation: 1130

You can't do it with a tabGroup in Titanium - they don't have a navBar in Android. With a lot of work, you can create your own by creating a base window, adding tab graphics (view) with click handlers, and they open new windows with a top: attribute that is below the tabs. Good luck.

Upvotes: 3

Related Questions