Hi,

I manually built a ScrollView with a few LinearLayout children, like:

  ScrollView scroll = new ScrollView(...);
  for (int i = 0; i < 5; i++) {
      LinearLayout ll = new LinearLayout(...);
      scroll.addView(ll);
  }

all works fine, except when I need to disable the scroll view. I do
the following:

  scroll.setEnabled(false);
  scroll.setFocusable(false);

I can still scroll the items though using the trackball. I've even
iterated over all its children and disabled each one of them as well.
Is there some other call I need to make to prevent the scrollview from
getting any focus?

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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to