Android Text Selection Terminology

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":

Android Text Selection Terminology

--------------Solutions-------------

We just call them cursor controllers, or handles.

to be precise ..

In android terminology it is "SelectionModifierCursorController"

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

  • Left Text Select Handle;
  • Right Text Select Handle; and a
  • Middle Text Select Handle (which is just the Left and Right images side-by-side)

The underlying code that manages these is in the three classes that derive from HandleView in android.widget.Editor:

  • InsertionHandleView
  • SelectionStartHandleView
  • SelectionEndHandleView

This is a shot in the dark--but maybe they're called carets in Webkit?

Category:android Time:2011-03-08 Views:1

Related post

  • How to display android text selection indicators handlers 2012-01-27

    the selection indicator isn't shown at the text input field is there any solution for this problem ? i am using flash builder 4.5 + flex in Android mobile Application plz help the selection indicators in this photo --------------Solutions------------

  • Android Text Selection Listener 2012-03-30

    I'm trying to create a graceful, distraction-free text editor. One of the features I really would like to implement is a pop-up with simple text formatting commands, such as bold, italic, underline, font color, and font face. To give you an idea, her

  • How to make an Android Spinner with initial text "Select One" 2009-05-15

    In Android, I want to use a Spinner that initially (when the user has not made a selection yet) displays the text "Select One". When the user clicks the spinner, the list of items is displayed and the user selects one of the options. After the user h

  • Android: Disable text selection in a webview 2011-02-24

    I am using a webview to present some formatted stuff in my app. For some interaction (which are specific to certain dom elements) I use javascript and WebView.addJavascriptInterface(). Now, I want to recognize a long touch. Unfortunately, onLongTouch

  • How can text selection be disabled in Android 3.0 Honeycomb? 2011-04-22

    This simple test page has the snippet that typically suppresses text selection on Android, iOS, Chrome, Safari and Firefox: .unselectable { -moz-user-select: none; -webkit-user-select: none; } I have a lot of test devices and I've been able to confir

  • Android 3.x ONLY WebView Text Selection + JavaScript 2011-08-04

    Problem domain: Android WebView based ePub format reader -- We need text highlights which are accessible via JavaScript methods (ie turn em on, turn em off, save them email them, etc) Anyone in the know, please correct me if I'm wrong: During text se

  • Web app running on Android: how to prevent text selection? 2011-08-09

    I have a mobile app (HTML, Javascript) that is supposed to run on iPhone and Android smartphones. To make it look more like a real app and prevent accidential text selection, I'm cathing the touchStart end touchEnd events and handle them. This preven

  • Android WebviewClient, Text selection control 2012-02-07

    Im making a Web app. I want block it's selecting texts. When I use Facebook application, I can't select text likes the picture's. Because facebook app, it's a hybrid app. How can I control... Is there a any method for blocking text selection??... Whe

  • Android- How can I show text selection on textview? 2012-09-10

    I am implementing a epub reading app where I am using textview for showing text of epub. I want to select text from textview when user long presses on textview and then do multiple operations on selected text of textview like highlight etc.. So, How

  • block virtual keyboard from opening when all text selected in edittext field in android 2011-11-04

    I wants to block virtual keyboard from opening when all text selected in edit text using select all option in context menu.please help. Thanks in advance --------------Solutions------------- Try this: InputMethodManager imm = (InputMethodManager)getS

  • Text selection listener in Android(API level 7) 2012-04-17

    I need a listener which is called every time the selection in an EditText changes. I googled around but I couldn't find anything useful for API level 7. I'm writing a Text Editor and I want the bold/italic/underlined button appear selected every time

  • How can the on-screen text selection widget be changed? 2011-08-09

    I noticed that different Android applications have different methods of selecting text. If you click-hold in Browser, there is a close up of the text plus the left and right edges can be dragged to modify the selection. In the Gmail app, a large blue

  • CSS rule to disable text selection highlighting 2009-05-05

    For anchors that act like buttons (for example, Questions, Tags, Users, etc. at the top of the Stack Overflow page) or tabs, is there a CSS standard way to disable the highlighting effect if the user accidentally selects the text? I realize this coul

  • Android: Enable selection in webkit 2010-06-13

    I'am looking for a way to have a webview content selectable in the very same way as the stock browser does. user long presses the text the whole word is selected two pins appear at the word's boundary allowing the user to stretch/shrink the selection

  • Text alignment line by line in android Text-view using Gravity 2010-08-31

    Can we align our text line by line(I mean whatever the text we have selected that should be aligned instead of the whole text) in android text-view dynamically!! Regards, vani. --------------Solutions------------- I think you need to draw text to you

  • What Text Selection Control is this? 2011-02-02

    I want to implement the same nature type of control on text selection on a Activity with various text fields. Any ideas of implementing the behavior shown in Picture --------------Solutions------------- Refer this from the Android 2.3 Documentation:

  • Text selection mode on webview 2011-05-19

    i want allow user to select some texts from webview and it need to be send as a text message. pls find way to select text and copy to clipboard and extracting from clipboard. i saw many example but nothing helped me really...TIA Edit using the code p

  • creating "text selection" functionality (as seen in touchscreen browsers) using JavaScript 2011-07-19

    I need to create following functionality in javascript: User should be able to get into text selection mode (by long pressing a word or clicking a dedicated button, how user goes into text selection mode is not important) Once in text selection mode,

  • How to get text selected before user clicks on Copy 2011-09-08

    I have a WebView and I want user to be able to select text and then display a QuickAction so that they can choose the action he will perform on that text he just selected. The problem I have is that I can't find a way to get text selected before the

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 3.010 (s). 13 q(s)