How to enable selection markers for EditText in PopupWindow?

前端 未结 1 888
别那么骄傲
别那么骄傲 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)
提交回复
热议问题