Friday, May 4, 2012

Re: [android-developers] HIDE_NAVIGATION does not cause Configuration change?

This is a temporary state.  The screen size is (as of ICS) always reported with the nav bar excluded.  Having the screen size change and result in a configuration change would make it very difficult to do clean transitions between these states, and is just not needed.  All that will happen is the foreground application will temporarily get a little more space in which to place its UI...  and it is the one that requested this, so it should be happy to deal with it.  (Even if it didn't instigate this, and is written in a bad way where it isn't using standard layout managers that know how to adjust to changes in window size, worst case it just won't use the temporarily available extra screen space.)

On Fri, May 4, 2012 at 9:56 AM, Agus <agus.santoso@gmail.com> wrote:
Hi all,

Why HIDE_NAVIGATION does not cause Configuration change?
also, when the nav bar is hidden, the dimension reported by the Display.getMetrics should also change right?

-Agus.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Dianne Hackborn
Android framework engineer
hackbod@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.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate