Forked from dawsontoth/verticalScrollableView.js
Last active
August 29, 2015 14:13
-
-
Save brianjd/866b96d74fa95c4b9568 to your computer and use it in GitHub Desktop.
Revisions
-
dawsontoth revised this gist
Feb 22, 2011 . 1 changed file with 8 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,18 @@ var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); var rotate = Ti.UI.create2DMatrix().rotate(90); var counterRotate = rotate.rotate(-180); var scrollView = Titanium.UI.createScrollableView({ views:[ Titanium.UI.createImageView({ image:'default_app_logo.png', transform: counterRotate }), Titanium.UI.createImageView({ image:'KS_nav_ui.png', transform: counterRotate }), Titanium.UI.createImageView({ image:'KS_nav_views.png', transform: counterRotate }) ], showPagingControl:true, width: 480, height: 320, transform: rotate }); win.add(scrollView); -
dawsontoth created this gist
Feb 22, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ var 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();