Actually, blockedDescendants didn't do as I expected. While it doesn't
scroll down anymore, now none of the items on that tab content page
are selectable using the trackball (although they work with touch
focus). beforeDescendants and afterDescendants doesn't work either :(


On Jun 4, 3:30 am, "Tim H." <[email protected]> wrote:
> Hi,
>
> My answer was Descendant focusability property on the parent view.
> This controls whether or not, or how, descendants take focus... I
> needed blocksDescendants:
>
> http://developer.android.com/reference/android/view/ViewGroup.html#FO...
>
> Hope this helps someone, it took me forever to find it :)
>
> On Jun 2, 4:35 pm, "Tim H." <[email protected]> wrote:
>
> > I can't seem to find the answer to this. Most questions were about the
> > tab stealing focus.
>
> > I have a layout in a Tab which is longer than the screen size. When
> > clicking the tab, it jumps towards the bottom of the page, which is
> > where the first EditText is located. I assume this is because EditText
> > are set to take focus first?
>
> > I can't set focusable or focusable in touch mode to false, because I
> > do want it to be focusable. I just don't want it to automatically jump
> > down to the EditText when I first click on the tab.
>
> > Thanks,
> > Tim
>
>
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to