Android, how do I stop a pointer appearing below an EditText

前端 未结 4 799
無奈伤痛
無奈伤痛 2020-12-04 02:09

I have an activity with some EditTexts in it. When I click on an EditText to change the text in it a blue arrow appears below where the cursor appears. How can I stop this a

4条回答
  •  爱一瞬间的悲伤
    2020-12-04 02:36

    This pointer is a system helper to allow the user to move the cursor easily (more precisely than just by touching the EditText). So I don't know if you can remove it, but I am sure it is not a good idea anyway.

    Additionally, this is the kind of pointer that will get styled differently according to the devices. If you look at the SDK's android source, you will find some drawables called text_select_handle_XXX.png I guess you will find from that how to change the system style in your own theme.

提交回复
热议问题