[TIMOB-13953] Android: Setting navBarHidden true causes window background image to cut off at the top
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-15T23:21:26.000+0000 |
Affected Version/s | Release 2.1.4, Release 3.0.2, Release 3.1.0 |
Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.2.0 |
Components | Android |
Labels | n/a |
Reporter | Betty Tran |
Assignee | Hieu Pham |
Created | 2013-05-22T13:00:47.000+0000 |
Updated | 2013-10-21T11:27:54.000+0000 |
Description
Description
When navBarHidden true is set on a window, the background image does not display correctly. The top of the image does not appear.Code to reproduce
var win = Ti.UI.createWindow({
navBarHidden: true, //comment out this line to see the background image displayed correctly
backgroundImage: 'loginbg.png'
});
win.open();
Attachments
File | Date | Size |
---|---|---|
loginbg.png | 2013-06-24T20:22:37.000+0000 | 205993 |
one.png | 2013-06-24T14:56:17.000+0000 | 214589 |
TIMOB-13953-image1.png | 2013-06-10T14:56:53.000+0000 | 565958 |
TIMOB-13953-image2.png | 2013-06-10T14:56:53.000+0000 | 562146 |
two.png | 2013-06-24T14:56:17.000+0000 | 200319 |
The issue cannot reproduce with the release master 3.2.0 Tested with: Titanium SDK version: 3.2.0 Tested on Device: Samsung galaxy s duos Android version: 4.0.4 Images uploaded
Hi Hieu, Please see the newly attached files. one.png shows when navBarHidden is set to true, and two.png shows when navBarHidden is not set at all.
Attached the background image.
Thanks, Betty. We're doing a big re-architecture of windows, which is related to this issue. Will put on hold until https://github.com/appcelerator/titanium_mobile/pull/4417 is merged.
It appears https://github.com/appcelerator/titanium_mobile/pull/4417 fixed this problem. Resolving ticket.
window background image is being displayed correctly and not getting cut off. Verified fix on: Device : Google Nexus 7, Android Version: 4.3 SDK: 3.2.0.v20131018154951 CLI version : 3.2.0 OS : MAC OSX 10.8.4 Alloy : 1.2.2 Appcelerator Studio, build: 3.2.0.201310181700 XCode : 5