开发者

Override EditText selection functionality

I am trying to create a new Text selection, copy and paste functionality that overri开发者_开发知识库des that of android. What I want to do is to change the pointer's image and style.


There are four text selection styles defined (you can find these in your SDK's data folder):

  • textSelectHandleLeft
  • textSelectHandleRight
  • textSelectHandle
  • textSelectHandleWindowStyle

Which you can override with your own custom theme. Look for these in the resource XMLs for the SDK (/platforms/android-10/data/res/values) to see how they are built and how you can customize them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜