[TIMOB-4410] iOS: UI - add support for scrollViewTexturedBackgroundColor
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-05-14T21:01:53.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 2.1.0, Sprint 2012-10 API |
| Components | iOS |
| Labels | api, qe-testadded |
| Reporter | Matthew Apperson |
| Assignee | Sabil Rahim |
| Created | 2011-06-14T12:57:51.000+0000 |
| Updated | 2012-06-06T12:01:08.000+0000 |
Description
Add support for the UIColor of scrollViewTexturedBackgroundColor
+1 Also want [viewFlipsideBackgroundColor](http://webcache.googleusercontent.com/search?q=cache:QHEJG8n2-MYJ:iphonedevwiki.net/index.php/UIColor)
The color
underPageBackgroundColoris available in iOS 5. So it should be included as well: [http://developer.apple.com/library/IOS/#documentation/UIKit/Reference/UIColor_Class/Reference/Reference.html]As far as underPageBackgroundColor, this should be added as a new ticket for 1.9.
Matt - do you have a Pull Request for this?
Testing code for the [PULL REQUEST](https://github.com/appcelerator/titanium_mobile/pull/2163)
// this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000'); // create tab group var tabGroup = Titanium.UI.createTabGroup(); // // create base UI tab and root window // var win1 = Titanium.UI.createWindow({ title:'SCROLLVIEW', backgroundColor:Ti.UI.iOS.COLOR_SCROLLVIEW_BACKGROUND }); var tab1 = Titanium.UI.createTab({ icon:'KS_nav_views.png', title:'SCROLLVIEW', window:win1 }); // // create controls tab and root window // var win2 = Titanium.UI.createWindow({ title:'VIEW_FLIPSIDE', backgroundColor:Ti.UI.iOS.COLOR_VIEW_FLIPSIDE_BACKGROUND }); var tab2 = Titanium.UI.createTab({ icon:'KS_nav_ui.png', title:'VIEW_FLIPSIDE', window:win2 }); // // create controls tab and root window // var win3 = Titanium.UI.createWindow({ title:'UNDER_PAGE', backgroundColor:Ti.UI.iOS.COLOR_UNDER_PAGE_BACKGROUND }); var tab3 = Titanium.UI.createTab({ icon:'KS_nav_ui.png', title:'UNDER_PAGE', window:win3 }); // // add tabs // tabGroup.addTab(tab1); tabGroup.addTab(tab2); tabGroup.addTab(tab3); // open tab group tabGroup.open();Pull merged
Same test as TIMOB-5801 Tested with 2.1.0.v20120605113335 on iPhone 4s 5.1 iPhone 3gs 4.3