You can re-enable the property, just call setFocusableInTouchMode(). On Thu, Feb 10, 2011 at 10:31 AM, Brill Pappin <br...@pappin.ca> wrote:
> Yikes, more bugs with doing that. > Seems once you set focusable == false, you can't undo it. > > here is the method... it never seems to reenable the property. > > public void setFocusable(boolean focusable) { > > if (!focusable) { > > setFlags(0, FOCUSABLE_IN_TOUCH_MODE); > > } > > setFlags(focusable ? FOCUSABLE : NOT_FOCUSABLE, FOCUSABLE_MASK); > > } > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en