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™ Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


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