| GitHub Issue | n/a |
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2013-05-18T16:09:03.000+0000 |
| Affected Version/s | Release 3.0.0, Release 3.0.2, Release 3.1.0 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | exalture |
| Reporter | logioniz |
| Assignee | Sunila |
| Created | 2013-02-07T09:32:30.000+0000 |
| Updated | 2017-05-31T22:50:40.000+0000 |
Create titanium single window application. Go to Resources-ui-common-FirstView.js and change line "var self = Ti.UI.createView();" to "var self = Ti.UI.createView({backgroundImage: '/android/default.png'});". Run application and in FastDev console have that image "default.png" loads 4 times.
Tested on 3.0.2 GA, Android 4.1.2 emulator. Here's my log:
The other thing I find odd is that specifying "/android/default.png" or "/iphone/Default.png" on iOS causes no image to be shown (only works with "Default.png"), yet on Android with these paths the image is shown.Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 Android Emulator: Android SDK version: 2.2
The additional 3 are for selected, focused and disabled states. If images are not explicitly specified for these, the background image is used.
Closing ticket as invalid.