Android 文本选择术语
如何调用文本选择期间(在模拟器中)出现的两个“梯形”?
在哪里可以找到有关如何以编程方式控制它们的更多信息?
为了进一步清楚起见,我附上了一张快照,您可以在其中看到左侧和左侧。 right "text-selection trapezoids":
How are the two "trapezoids" that appear during text selection (in the emulator) called?
Where can I find more information about how to control them programmatically?
For further clarity, I am attaching a snapshot where you can see the left & right "text-selection trapezoids":
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我们称它们为光标控制器或句柄。
We just call them cursor controllers, or handles.
这是一个盲目的尝试——但也许它们在 Webkit 中被称为插入符?
This is a shot in the dark--but maybe they're called carets in Webkit?
准确地说..
在android术语中它是“SelectionModifierCursorController”
to be precise ..
In android terminology it is "SelectionModifierCursorController"
它会根据用于显示这些句柄的图像名称显示,它们被称为“文本选择句柄”,其中有一个
管理这些的底层代码位于从
android.widget 中的
:HandleView
派生的三个类中.EditorInsertionHandleView
SelectionStartHandleView
SelectionEndHandleView
It would appear based on the name of the images used to display these handles that they're called Text Select Handles, of which there's a
The underlying code that manages these is in the three classes that derive from
HandleView
inandroid.widget.Editor
:InsertionHandleView
SelectionStartHandleView
SelectionEndHandleView