Titanium Community Questions & Answer Archive

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

Title not appearing when I set a background

Everytime I set a Background Image It doesn't show my Window Title, but when I dont have a backgroundImage The window Title is shown

var win = Titanium.UI.createWindow({
title:'My win Title',
backgroundImage:'images/window-bg.png'
});

— asked November 10th 2010 by Kannan Shunmugaraj
  • appearing
  • backgroundimage
  • not
  • title
0 Comments

1 Answer

  • Using a fresh project, with everything commented except for the following:

    var win1 = Titanium.UI.createWindow({
        title:'Tab 1',
        backgroundImage:'/images/window-bg.png'
    });
    win1.open();
    

    Using the latest builds for android dated 6 November, tested using the emu on ubuntu:

    • 1.5.0 - works as expected
    • 1.4.x - titlebar is shown, but containing the application name rather than the window name

    Cheers

    — answered November 10th 2010 by Paul Dowsett
    permalink
    1 Comment
    • To clarify on the above, this worked for me. Did it help you at all, Kannan?

      — commented November 17th 2010 by Paul Dowsett
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.