Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as JavaScript by registered user yoncy ( 14 years ago )
var win = Ti.UI.createWindow();
    
       
    var frontView   = Ti.UI.createScrollableView({ backgroundColor:'#48b' });
    var frontImage = Titanium.UI.createImageView({
        image:"images/front.png", 
        height:737, 
        width:693,
        top:0
    });
    frontView.add(frontImage);
    
    var backView    = Ti.UI.createScrollableView({ backgroundColor:'#48b' });
    var backImage = Titanium.UI.createImageView({
        image:"images/back.png", 
        height:600, 
        width:627,
        top:0
    });
    backView.add(backImage);
    
    var leftView    = Ti.UI.createView({ backgroundColor:'#48b' });
    var rightView   = Ti.UI.createView({ backgroundColor:'#236' });
    var topView     = Ti.UI.createView({ backgroundColor:'#235' });
    var floorView   = Ti.UI.createView({ backgroundColor:'#48b' });
    var resultsView = Ti.UI.createView({ backgroundColor:'#fff' });
     
    var scrollableView = Ti.UI.createScrollableView({
      views:[frontView,leftView,backView,rightView,topView,floorView,resultsView],
      showPagingControl:true
    });
     
    win.add(scrollableView);
    win.open();

 

Revise this Paste

Your Name: Code Language: