You might want to take a look at setRequestedOrientation if u want
to ..
On Apr 24, 1:53 pm, Wang He <[email protected]> wrote:
> Hi all
>
> when I use android:configChanges="keyboardHidden|orientation" in my
> code, the activity will not destroy and recreate when I change from
> portrait to landscape, only onConfigurationChanged(newConfig) will be
> called by framework.
>
> The issue is:
> My UI cannot refresh by default, what is the correct way in
> onConfigurationChanged() to refresh my UI?
>
> BTW, my UI is write with mylayout.xml and added to my Widget by addView
> (inflator(mylayout.xml),null).
>
> Thanks in advance!!
> BRs
> Wang He
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---