06-21-2012 12:29 AM
I have an android application that detects on startup by using layout-sw600dp that if the unit is 600dp wide that it will run the tablet layout. This works on my Transformer Prime but on the playbook it is giving a stretched out version of the phone layout.
How can I get it to detect the tablet layout? Specfically, what is the width of the screen that it thinks that it is a phone instead of a tablet.
01-08-2013 05:10 PM
Hello, I am porting an android app an having the same issue.
In the playbook, the app seems to be using the default layout (the one in /layout/ folder) instead of the one set for a bigger screen (the one in /layout-sw600dp/).
The problem is that If I change this layout to optimize it for the playbook, things will be too big for the blackberry 10 phone...
Anyone else experiencing this?
01-18-2013 09:28 AM
For anyone out there having a similar issue, I kept testing, and the playbook did take layout-large. The blackberry 10 phone takes the files from layout, so I was able to tweak things for each device.
01-23-2013 01:14 PM - edited 01-23-2013 01:17 PM
The feature "layout-sw600dp" was introduced only after Android 3.2 So it wont work for BB Android runtime as it is based on 2.3.3. But layout-xlarge worked for me. You might also try layout-large as mduhagon suggested.
And please edit the title and replace blackbook with PlayBook.