Hi everyone.

I have created a Tabhost and there are 4 buttons on it.

I set android:configChanges="orientation|keyboardHidden" on every
Activity in the menifest file.

And I also override the onConfigurationChanged method to listen the
event when the screen is oriented.

Now there is a "Bug", and I don't know how to solve it.

When I click on one of the 4 buttons(for example, A, B, C, and D), and
I rotate the Tablet's orientation from portrait to landscape, the
Activity is fine. Its onConfigurationChanged method works.

But When I click the B button on landscape mode, its portrait state is
still kept(I want B button's onConfigChanged method to be called, but
it doesn't). In a word, if you changed the orientation, and you click
another Tab button, the Activity's onConfigurationChanged method won't
be called.

How can I solve this problem? Thanks a lot.

-- 
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

Reply via email to