what is ORIENTATION_SQUARE ?

by a a » Mon, 02 May 2011 08:39:53 GMT


Sponsored Links
 Dear all,

landscape, portrait, square.

public static final int ORIENTATION_LANDSCAPE
Since: API Level 1
Constant Value: 2 (0x00000002)
public static final int ORIENTATION_PORTRAIT
Since: API Level 1
Constant Value: 1 (0x00000001)
public static final int ORIENTATION_SQUARE


I can't imagine why square exist in the world? I never seen the phone
is a square screen, which height equal weight.

Can we necessary always to judge is it a square? If it exist, how can
we judge it's a landscape or portrait?

-- 



Re: what is ORIENTATION_SQUARE ?

by Dianne Hackborn » Mon, 02 May 2011 10:25:04 GMT


 It is not currently used, don't worry about it.







-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 


Sponsored Links


Other Threads

1. augmented reality frustum

Hi all,

how i can set up the frustum of the real phone camera to overlay
correctly the virtual information on the real world?

Thanks

--~--~---------~--~----~------------~-------~--~----~

2. XML Menu

i have a xml menu set up and i cannot get the functions to work can
some one help me please
--~--~---------~--~----~------------~-------~--~----~

3. costraint mis match

4. last modification time of contact

5. Display image in a frame layout on click of the image from Grid View

6. Memory overcommit

7. detachViewFromParent / attachViewToParent /removeViewAt --- ViewGroup