[英]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.