解决方案 »

  1.   

    http://stackoverflow.com/questions/13461732/use-custom-color-to-highlight-searched-text-in-webview
    http://stackoverflow.com/questions/16548034/custom-text-selection-color-in-webview
    http://danbarnett.net/how-to-hide-android-webview-highlight-border-or-change-its-color-142.html
    参考下
    第三个有点意思
      

  2.   

    Android修改webview选中时的高亮颜色
      

  3.   

    问题补充:就是这里提到的:http://stackoverflow.com/questions/16548034/custom-text-selection-color-in-webview看这个 第一条:
    Tried mehods:::selection CSS : This only works for desktop browser not android webview.
    Manually draw the selection area in onDraw: This is quite troublesome, since we have to manage coordinates ourself.
      

  4.   

    还是需要该源码里面的css,选择的属性就像1楼stackoverflow那里说的差不多
      

  5.   


    这个CSS  在哪里  我没有找到