How to enable selection markers for EditText in PopupWindow?

前端 未结 1 886
别那么骄傲
别那么骄傲 2021-02-07 22:38

I\'m using a EditText in a PopupWindow. It shows OK, but the selection markers do not show up in the EditText. Neither does the Options me

相关标签:
1条回答
  • 2021-02-07 23:25

    Try this,

       editText.setSelectAllOnFocus(true);
    
    0 讨论(0)
提交回复
热议问题