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

What is Skylake and how does it compare with Broadwell or Haswell?

What is Tokenization?

Good Links for PMI Certification.