Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13953] Android: Setting navBarHidden true causes window background image to cut off at the top

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-07-15T23:21:26.000+0000
Affected Version/sRelease 2.1.4, Release 3.0.2, Release 3.1.0
Fix Version/s2013 Sprint 15 API, 2013 Sprint 15, Release 3.2.0
ComponentsAndroid
Labelsn/a
ReporterBetty Tran
AssigneeHieu Pham
Created2013-05-22T13:00:47.000+0000
Updated2013-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

FileDateSize
loginbg.png2013-06-24T20:22:37.000+0000205993
one.png2013-06-24T14:56:17.000+0000214589
TIMOB-13953-image1.png2013-06-10T14:56:53.000+0000565958
TIMOB-13953-image2.png2013-06-10T14:56:53.000+0000562146
two.png2013-06-24T14:56:17.000+0000200319

Comments

  1. Biju pm 2013-06-10

    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
  2. Betty Tran 2013-06-24

    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.
  3. Betty Tran 2013-06-24

    Attached the background image.
  4. Hieu Pham 2013-06-25

    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.
  5. Hieu Pham 2013-07-15

    It appears https://github.com/appcelerator/titanium_mobile/pull/4417 fixed this problem. Resolving ticket.
  6. Paras Mishra 2013-10-21

    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

JSON Source