[android-developers] [Android Manifest] How to set same XML attributes to all activities ?
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 have a dozen of activities. So, my question is :
Is it possible to assign the same XML attribute value to all
activities ?
Or should I copy the attribute in all the <activity> tags of the
manifest ?
Thanks !
PS : I try to set the attribute value in the <application> tag but it
doesn't work.
--
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