This library provides text selection support for Android WebView. The core logic is the same as BTAndroidWebViewSelection.
- More modular (not inherit webview)
- Not depend quick action lib (for actionbar support)
- Mimic ICS native text selection handlers
- Smart tap selection for CJK characters
Tested on API 8-21 (Android 2.2-5.0.1).
See samples/demos
directory.
##How to add to Gradle Add the following to your build file:
dependencies {
//other dependencies also go here
compile 'com.github.naoak:WebViewMarker:v0.1.3'
}
repositories {
//other repositories
maven { url "https://jitpack.io" }
}
Then just sync Gradle with the project
This project uses the following libraries.
- rangy by Tim Down
- drag and drop library by Bill Lahti
MIT License.