Hi Ola, I've been having this problem for ages with scrolling long series of vertical nested layouts including a TextView title and embedded buttons in each row.
When scrolled and operated entirely by touch, you can click any visible button and it fires correctly. When scrolling vertically using the arrow keys (and focusing the relevant title TextView as appropriate in OnKeyDown) you can navigate vertically across the row to the button and it fires when you press ENTER or the centre D-PAD key. However, as you report, when you mix the two there's trouble. If you scroll using the D-PAD and then try to click a button with the mouse, the entire containing layout scrolls right back to the beginning and focuses an EditText contained in the topmost row. Here's some good news. After trying various things today to fix it, (including requestRectangleOnScreen()) nothing worked UNTIL I added setFocusableInTouchMode(true) to my title TextViews. Now everything seems to work as it should as far as I can tell. I hope this helps someone else. Robert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

