Titanium Community Questions & Answer Archive

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

How to create footer?

How do you create a footer that exists on every window? If you create a tabgroup in app.js and call open, it creates the windows below and keeps the tabgroup at the top of every window. I want to have a webview with a google ad in it at the bottom of each window.

— asked November 4th 2010 by Justin Toth
  • footer
0 Comments

1 Answer

  • Accepted Answer

    I think the easiest way is just to create and set your ad in a separate js file and include it on the target windows js.

    You could also set a single window with that footer and use a scrollView to simulate other windows. Not a pretty solution tho.

    — answered November 4th 2010 by Marco Ferreira
    permalink
    2 Comments
    • Thanks for the quick reply! How exactly would I ensure that the ad webview is at the bottom of the screen?

      — commented November 4th 2010 by Justin Toth
    • set the 'bottom' property to 0

      — commented November 4th 2010 by Marco Ferreira
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.