In my application, I don't want the activity to restart when user
changes his mobile's orientation or when he opens his physical
keyboard.
So, I have to assign the following XML attribute to all my activities
in the manifest file :
android:configChanges=keyboard|keyboardHidden|orientation
I
Hi,
You can simply create a theme for this. Look at the various samples in
the SDK and you'll find examples on how to do this.
On Mon, Dec 7, 2009 at 7:27 AM, Syl sylvain.guyoma...@altran.com wrote:
In my application, I don't want the activity to restart when user
changes his mobile's
Sorry, I don't believe there is a way to do this. (If there is, it would be
this attribute on the application tag.) We strongly recommend that people
stick with the standard behavior of allowing the system to restart an
activity due to a configuration change, since:
(1) This takes care of a lot
3 matches
Mail list logo