layout iPhone v.s. iPad

iKnow-IT banner

The dimentions of an iPhone:
with: 320
hight: 480  
  (Status bar 20px
   Nav bar 44px
   Main con. 367px
   Tab bar 49px)

See: http://titaniumtips.com/files/tag-iphone.php
and 
http://www.idev101.com/code/User_Interface/sizes.html

 

The dimentions of an iPad: 

ipad width: 768
height: 960

See: http://titaniumtips.com/files/category-basics.php

=

var ipad = Titanium.Platform.osname == 'ipad';
var foto2 = Ti.UI.createImageView({
     image:bimage2,
     top:ipad ? 713 : 220,
     left:0,
     height:ipad ? '511' : '213',
     width:ipad ? '768' : '320'});