Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (device)
Viewing all articles
Browse latest Browse all 250

Metatag Viewport in Titanium

0
0

Hi,

i´m trying to give my app a fixed width of 320 px on any device. I´m looking for something like the HTML Metatag "Viewport" :

<meta name="viewport" content="width=320px, initial-scale=1.0, user-scalable=no">
If I give my window a width, i scales to 320 px, but i doesnt fit the screen of my tablet (A501) anymore.
var win = Titanium.UI.createWindow({  
    width:"320",
    color:'#C1C1C1',
    backgroundColor:'#282828'
});
I hope anybody understood what i´m trying to do and can help me ;)

Thanks


Viewing all articles
Browse latest Browse all 250

Latest Images

Trending Articles





Latest Images