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

Android™ Runtime Development

Reply
Contributor
Posts: 20
Registered: ‎02-02-2013
My Device: None - developer using simulator
My Carrier: O2
Accepted Solution

Android drawable folder/layout folder for BB Z10 and Q10

Hi,

 

When porting Android apps to BB10, which drawable/layout folders are selected when running the app on the Z10 and Q10 devices?

 

Many thanks,

Jonathan

Developer
Posts: 648
Registered: ‎09-26-2012
My Device: Limited Edition Z10, Playbook 16GB/32GB, Dev Alpha A/B/C
My Carrier: Mobile Vikings

Re: Android drawable folder/layout folder for BB Z10 and Q10

I always use the screen dimensions to make a difference (http://developer.blackberry.com/design/bb10/screen_sizes.html).

But I don't know which ones will be selected if you take other terms (e.g. sw600dp and what else you got) to make a difference.


A like is always appreciated,
but a nomination for BB Elite even more :-)
You can also contact me on Twitter: @ndsmyter
Regular Contributor
Posts: 84
Registered: ‎01-31-2013
My Device: Simulator !!!
My Carrier: 8608800458

Re: Android drawable folder/layout folder for BB Z10 and Q10

Not sure about actual devices but Dev Alpha Simulator considers itself "large-xhdpi". So I expect the same for z10. As for the Q10, I'm guessing normal-xhdpi, but small-xhdpi is a possibility as well. Let me know if you find out more info.

Contributor
Posts: 20
Registered: ‎02-02-2013
My Device: None - developer using simulator
My Carrier: O2

Re: Android drawable folder/layout folder for BB Z10 and Q10

Hi, thanks for the replies.  I've done some experimenting and can confirm the following :

 

BB10 Dev Alpha B Simulator 10.0.10.261 (Z10) - xhdpi, layout-large

 

BB10 Dev Alpha C Simulator Beta 10.1.X.338 (Q10) - xhdpi, layout-small

 

Regards,

Jonathan