*TreKing,*

This is true, but he didn't ask about that.  He just asked about a way for 
an EditText to keep the text it has on a rotate.

The easiest and fastest way to solve that particular problem is the 
configChanges XML attribute.

You'll note that I said their may be a need for other options if they needed 
it to do additional things other than just handle a rotate. There is no need 
to code complicated functions to do something simple. Fix it the simplest 
way possible and then add to it if other things arise.


*King Salamon,*

You can review this documentation to understand more about how to save the 
state in an Activity:

http://developer.android.com/guide/topics/fundamentals/activities.html#SavingActivityState


Steven
Studio LFP
http://www.studio-lfp.com


On Saturday, October 8, 2011 2:13:01 AM UTC-5, TreKing wrote:
>
> On Fri, Oct 7, 2011 at 3:59 PM, Studio LFP <studi...@gmail.com> wrote:
>
>> Add this to your activity tag in the AndroidManifest.xml
>>
>> android:configChanges="orientation|keyboardHidden"
>>
>> That will fix you up
>>
>
> That will hide the issue until the app is destroyed / recreated via some 
> other means - like being put in the background and being returned to later.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
> transit tracking app for Android-powered devices
>
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to