Skip to content

Instantly share code, notes, and snippets.

@PranjalDureja0002
Created March 2, 2021 16:35
Show Gist options
  • Save PranjalDureja0002/9af45b54f4fcd793e34968573f1b020a to your computer and use it in GitHub Desktop.
Save PranjalDureja0002/9af45b54f4fcd793e34968573f1b020a to your computer and use it in GitHub Desktop.
m
ar win = Ti.UI.createWindow({ backgroundColor: '#fff' });
var scrollView = Titanium.UI.createScrollableView({
views:[
Titanium.UI.createView({backgroundColor:'#f00'}),
Titanium.UI.createView({backgroundColor:'#0f0'}),
Titanium.UI.createView({backgroundColor:'#00f'})],
showPagingControl:true,
width: 480,
height: 320,
transform: Ti.UI.create2DMatrix().rotate(90)
});
win.add(scrollView);
win.open();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment