Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Trusted Contributor
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers
Accepted Solution

Playbook OS 2 loading screen not centering foreground image in portrait mode

[ Edited ]

it centers the image when in landscape and auto. not in portrait.Smiley Very Happy

 

here is orientation in xml 

 <rim:orientation mode="portrait" />

 anything missing?

and the image for portrait is 600 wide x 1024 high

Retired
Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Playbook OS 2 loading screen not centering foreground image in portrait mode

Hi usr501,

 

Can you post a screenshot of the loading screen when in portrait mode please?

 

Thanks.

Trusted Contributor
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Playbook OS 2 loading screen not centering foreground image in portrait mode

Anzor_b,

 I did create the image with portrait dimensions 600Wx1024H it pushed it to the side rather than centering it.

I decided to release the pending Playbook App update build without the screen orientation locked on portrait. Users can do that on device.

what started it was this screen I developed for navigationPBportrait.png

 

 

 

 

 

 

Highlighted
Retired
Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Playbook OS 2 loading screen not centering foreground image in portrait mode

Hi usr501,

 

I will post Adam's response so that other developers can benefit. Thanks!

 

WebWorks for Tablet OS does not allow developers to define a portrait and landscape version of its background image.  You have to  choose one and it will try to scale properly.  As you’ve seen, it does not ‘scale’ a landscape image to portrait.  This is expected behavior for the current Tablet OS.  This is very different on BlackBerry 10 which has a far more robust rim:splash element.