Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4799] Ti.UI.backgroundColor/Ti.UI.backgroundImage disappear when orientation is changed

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T21:24:48.000+0000
Affected Version/sRelease 1.7.0, Release 1.7.1, Release 1.7.2, Release 1.8.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterAlan Vaghti
AssigneeIngo Muschenetz
Created2011-07-26T17:16:41.000+0000
Updated2017-06-07T21:24:48.000+0000

Description

1) Create project in TiStudio and replace app.js with Ti.UI.backgroundColor = '#f00'; var win = Ti.UI.createWindow(); win.open(); or Ti.UI.backgroundImage = 'KS_nav_ui.png'; var win = Ti.UI.createWindow(); win.open(); (Or use attached Resources folders) 2) Open app in portrait orientation. Results: Appropriate background appears. 3) Switch to landscape orientation. Expected: Background remains. Results: Background disappears. Appcelerator splash screen appears. Splash screen stays regardless of orientation changes. Note: Talked to Jon Alter about this. He says it isn't a major issue because he doesn't see a circumstance where someone would set the background this way. It is a parity issue. Setting the background this way works as expected on iOS devices.

Attachments

FileDateSize
Color.zip2011-07-26T17:16:41.000+00002312177
Image.zip2011-07-26T17:16:41.000+00002312228

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to lack of activity and time passed.

JSON Source