Have you tried setting these to true in xml?
android:focusable
android:focusableInTouchMode

or (if you dont want to use in XML) then  using setFocusable and
setFocusableInTouchMode

Regards
Sarwar Erfan




On Aug 4, 5:12 pm, Pipen <[email protected]> wrote:
> Hi all,
>
> I have a scroll view with a couple of LinearLayous in it (please don¨t
> tell me to use a ListView, because it's out of the question)
>
> I set the background to be a selector with different backgrounds for
> selected an non selected. The problem is that it never gets selected
> when scrolling with the arrows (emulator) wheel (nexus one). But if I
> do view.setSelected(true) it indicates that its selected.
>
> Is there a way to set these views to be selectable when a user scrolls
> trough the scroll view?
>
> Kind regards

-- 
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