What does the layout code look like?

On Jul 3, 2010 1:06 PM, "Mike" <mike.pan...@gmail.com> wrote:

Hello!

I've got an Android app that has a focusable EditText widget inside of
a ScrollView.  When I scroll down, the EditText automatically picks up
the focus.  When I try to scroll up, if the EditText is partially on-
screen then Android scrolls the ScrollView to put the EditText
completely on-screen (I'm not sure why, but this re-centering is being
triggered by a UI refresh which is being triggered by my app calling
setText after a 1000 millisecond delay (using a Handle; it's being
done to update an on-screen clock)).

Any ideas on how I can fix this?  I was thinking about trying to
setFocusableInTouchMode to false, but then you can can't click on it
(which is where I was going to re-enable it)

Thanks!
--MIke

--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to