09-26-2013 12:02 AM
This article talks about using the "square" resource qualifier:
"square" is no longer used in Android 4.2, on which OS 10.2 is based.
How can I specify resources for the square screen now?
I was thinking about using sw360dp-sh360dp, but there is no such thing is shXXXdp, I tried sw360dp-h360dp, but it doesn't appear to work.
Solved! Go to Solution.
09-26-2013 10:33 AM - edited 09-26-2013 04:49 PM
The article specifies to put your Q10 assets in the res/drawable-small-square folder. This is mapped by the BlackBerry Android Runtime team so that you can target Q10 specifically and is not part of the standard Android project.
As such, it should still work on 10.2
EDIT: I've just attempted this myself and can see that it is indeed not working. I'll raise a bug with the devs. Thanks for letting us know!
09-26-2013 07:36 PM
The Android documentation says that "square" is deprecated and no longer used by the Android runtime.
I believe it will not be possible to target the Q10 directly. You will have to specify the base resources which will be used for the Q10 (and other small screen devices), then use the swXXXdp and hXXXdp qualifiers to provide resources for larger devices.
10-01-2013 01:42 PM
In BlackBerry 10.2, you can target the Q10 and Q5 by using res/drawable-small. That should work.