Of course. Check the screen size and lock the orientation for one or the
other.
On Friday, July 27, 2012 2:10:31 PM UTC+8, limtc wrote:
Hi,
Is it possible for an app to support one orientation (portrait) for phone
but another orientation (landscape) for large form device like tablets?
Thanks for the help! All the examples I have seen so far asked me to put
portrait or landscape in the activity.
I will give this a try! If you know any examples on the net please let me
know (I didn't find any).
On Friday, July 27, 2012 3:06:44 PM UTC+8, Zsolt Vasvari wrote:
Of course.
Thanks, this is what I am doing now. I wanted to support portrait/landscape
modes for 1280x720/800 device, so this is what I do, sounds OK? So far my
test seems to be fine, except sometimes it starts up upside down for some
tablet devices.
Is any of the dimension is not 1280 I will stick to
You should be checking the DPI, not the absolute pixel count. I dont know
about the upside down part.
On Friday, July 27, 2012 3:49:42 PM UTC+8, limtc wrote:
Thanks, this is what I am doing now. I wanted to support
portrait/landscape modes for 1280x720/800 device, so this is what I do,
There are 2 issues that I have encountered so far with this approach:
- on a Samsung tablet running Android 4, setting to portrait in code will
ignore the current portrait orientation and show the device upside down (if
I held it in one way with the logo on left). This does not happen if
5 matches
Mail list logo