I am using the navigation control in ActionBar to provide a drop down list. I would like to disable the selection of the drop-down list under certain circumstances.
My layout for the closed view of the counter adapter has a TextView wrapped in LinearLayout . The best I came up with is to override getView in my spinner adapter and make both LinearLayout and TextView inaccessible and disabled. This affects the selection of text, but you can select it.
Change I appreciate that I can hide the list, but thatβs not what I want to do. In addition, I returned false in methods that check if one or all elements are enabled, but this does not work.
Trying to get this to work with Honeycomb on Xoom. Thank you in advance. Peter.
android android-3.0-honeycomb
PJL Jun 23 '11 at 8:00 2011-06-23 08:00
source share