I have a LinearLayout embedded in a ScrollView that fills the screen. The LinearLayout is set to focusable, focusable in touch mode, and weak focus type. Within it, I have a mix of focusable and non- focusable views (the focusable views are set to focusable, focusable in touch mode, and strong focus type).
I'm having a problem when one of the non-focusable views is larger than a full screen. If I scroll in touch mode to a position where none of the focusable views is visible, then when my finger lifts, focus is set to the first focusable sub-view and scrolling is adjusted so that view becomes visible. This doesn't happen if I stick to keypad mode. It also doesn't seem to happen in touch mode if I fling the scroll view and it happens to end up at a position where nothing focusable is visible. (In that case, if I scroll again in touch mode to where a focusable view is visible, it receives focus, but if my finger goes up with nothing focusable on the screen: boom.) It doesn't seem to matter whether the activity was launched in touch or keypad mode, or what mode was used in earlier scrolling. I don't know if this was the intended behavior, but it is a very bad user experience to be scrolling down and suddenly be back near the top (with no visual feedback from the scroll bar, either!) Is there some way around this (other than turning off focusable in touch mode, which is not desirable for what I'm doing)? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

