“android:textIsSelectable=”true" not working for TextView in RecyclerView

前端 未结 7 1037
甜味超标
甜味超标 2021-01-01 09:31

I know that setting android:textIsSelectable=\"true\" in xml for the TextView will show the native text selection popup and I\'ve been using that i

7条回答
  •  -上瘾入骨i
    2021-01-01 10:10

    If your TextView is inside ConstraintLayout, make sure the width is not wrap_content. With TextView width 0dp or match_parent this works fine.

提交回复
热议问题