Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4410] iOS: UI - add support for scrollViewTexturedBackgroundColor

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-05-14T21:01:53.000+0000
Affected Version/sn/a
Fix Version/sRelease 2.1.0, Sprint 2012-10 API
ComponentsiOS
Labelsapi, qe-testadded
ReporterMatthew Apperson
AssigneeSabil Rahim
Created2011-06-14T12:57:51.000+0000
Updated2012-06-06T12:01:08.000+0000

Description

Add support for the UIColor of scrollViewTexturedBackgroundColor

Comments

  1. Sindre Sorhus 2011-10-19

    +1 Also want [viewFlipsideBackgroundColor](http://webcache.googleusercontent.com/search?q=cache:QHEJG8n2-MYJ:iphonedevwiki.net/index.php/UIColor)
  2. Sindre Sorhus 2011-10-19

    The color underPageBackgroundColor is 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]
  3. Reggie Seagraves 2011-10-19

    As far as underPageBackgroundColor, this should be added as a new ticket for 1.9.
  4. Sindre Sorhus 2011-10-20

  5. Paul Dowsett 2011-12-27

    Matt - do you have a Pull Request for this?
  6. Sabil Rahim 2012-05-09

    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();
       
       
       
  7. Blain Hamon 2012-05-14

    Pull merged
  8. Natalie Huynh 2012-06-06

    Same test as TIMOB-5801 Tested with 2.1.0.v20120605113335 on iPhone 4s 5.1 iPhone 3gs 4.3

JSON Source