[英]How to select all text in AutoCompleteTextView Android
我想在单击AutoCompleteTextView
时选择全文,
我使用了android:selectAllOnFocus="true"
但没有用。
尝试这个
android:textIsSelectable="true"
android:focusable="true"
android:longClickable="true"
这是用于 TextView 但可能适用于 AutoCompletTextView
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.