I was just wondering if setFocusable
works with AutoComplete text view.
I looked for examples and implemented it but setFocusable (in my observation) works only with EditText. Does setFocusable works with AutoComplete text view?
If not, are there any ways to implement such?
http://developer.android.com/reference/android/widget/AutoCompleteTextView.html
According to documentation, it does. I also can make it not focusable simply calling setFocusable( )
.
Try to set also setFocusableInTouchMode( )
, maybe you have default focus set on it;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.