zhouray / selectabletextview Goto Github PK
View Code? Open in Web Editor NEWAndroid - My implementation of a selectable TextView
Android - My implementation of a selectable TextView
Hi,
This is really a great effort. I was struggling with text selection and I got this source.
Now in this i want to show a popup window at top of the selection window but not getting the exact position. Please suggest your help. I am attaching the screens that will explain my query. Issue occurs when I scroll the handles to select more text.
1.png-> showing what I want
2.png _> showing what I am getting.
how can i copy the selected text? i don't see this option when i used this library in my project
I see you've added a few notes through the coded saying that some values has to be calculated differently for two different drawables, but I cant really wrap my head around it.
Oh, and I also noticed that the cursors are misplaced about one a character to the left, but this might be because I switched the text to english.
I have tried textView.getCursorSelection().getSelectedText().toString() to get Selected text from textview but sometime it is not giving right text. Is there any other method defined to getSelected Text?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.