How to create responsive UI in Titanium?

Here is the idea and the link to stack overflow article

 

var per40 = Math.floor(Titanium.Platform.displayCaps.platformWidth * 0.4);

 

var btngeorgia=Titanium.UI.createButton({

   //stuff

    width:per90,

    //stuff

});

 

 

http://stackoverflow.com/questions/10413942/using-percentages-in-titanium-for-fluid-responsive-design

 

Comments

Popular posts from this blog

Is Apple's 64 Bit Architecture a Hype?

Appcelerator Announces Virtual Private Cloud