Input Field View
An abstract class that provide displays text user-editable text to the user.
Inheritors
Types
Interface definition for a callback to be invoked when an action is performed on the editor.
When an object of this type is attached to an InputFieldView, its method will be called when the text is changed.
Functions
Adds a OnTextChangedListener to the list of those whose methods are called whenever this field text changes.
Sets whether the text should be allowed to be wider than the View is. If false, it will be wrapped to the width of the View.
Called when this view wants to give up focus. If focus is cleared onFocusChanged(boolean, int, android.graphics.Rect) is called.
Set the validation state of this view.
Return the text that field is using for data transfer to VGS proxy.
Gets the current field type of the InputFieldView.
Returns the horizontal and vertical alignment of this TextView.
Get the type of the Input Method Editor (IME).
Get the type of the editable content.
Returns the bottom padding of this view. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.
Returns the end padding of this view depending on its resolved layout direction. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.
Returns the left padding of this view. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.
Returns the right padding of this view. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.
Returns the start padding of this view depending on its resolved layout direction. If there are inset and enabled scrollbars, this value may include the space required to display the scrollbars as well.
Returns the top padding of this view.
Gets the current Typeface that is used to style the text.
Request to hide the soft input window from the context of the window that is currently accepting input.
Returns true if view content same, false otherwise.
Specifies whether the text inside input field is required to be filled before sending. If the field doesn't require, then it may be sent to the server as empty.
Returns the validation status for this view.
Removes the specified OnTextChangedListener from the list of those whose methods are called whenever this field text changes.
Call this to try to give focus to a specific view or to one of its descendants and give it hints about the direction and a specific rectangle that the focus is coming from. The rectangle can help give larger views a finer grained hint about where focus is coming from, and therefore, where to show selection, or forward focus change internally.
Sets the View's content description.
Set whether the cursor is visible.
Causes words in the text that are longer than the view's width to be ellipsized instead of broken in the middle.
Set the enabled state of this view. The interpretation of the enabled state varies by subclass.
Sets the text to be used for data transfer to VGS proxy. Usually, it is similar to field-name in JSON path in your inbound route filters.
Set whether this view can receive the focus.
Set whether this view can receive focus while in touch mode.
Sets the horizontal alignment of the text and the vertical gravity that will be used when there is extra space in the TextView beyond what is required for the text itself.
Sets the color of the hint text.
Sets the color of the hint text for all the states (disabled, focussed, selected...) of this TextView.
Change the editor type integer associated with the text view, which is reported to an Input Method Editor when it has focus.
Sets how to determine whether this view is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen.
Set the type of the content with a constant as defined for input field.
Specifies whether the text inside input field is required to be filled before sending.
Sets the height of the TextView to be at most maxLines tall.
Sets the height of the TextView to be at least minLines tall.
Sets the id of the view to use when the next focus is FOCUS_DOWN.
Sets the id of the view to use when the next focus is FOCUS_FORWARD.
Sets the id of the view to use when the next focus is FOCUS_LEFT.
Sets the id of the view to use when the next focus is FOCUS_RIGHT.
Sets the id of the view to use when the next focus is FOCUS_UP.
Set a special listener to be called when an action is performed on the text view. This will be called when the enter key is pressed, or when an action supplied to the IME is selected by the user. Setting this means that the normal hard key event will not insert a newline into the text view, even if it is multi-line; holding down the ALT modifier will, however, allow the user to insert a newline character.
This method adds a listener whose methods are called whenever VGS secure field state changes.
Register a callback to be invoked when focus of this view changed.
Register a callback to be invoked when a key is pressed in this view.
Sets the padding. The view may add on the space required to display the scrollbars, depending on the style and visibility of the scrollbars. So the values returned from getPaddingLeft(), getPaddingTop(), getPaddingRight() and getPaddingBottom() may be different from the values set in this call.
Moves the cursor to the specified offset position in text
If true, sets the properties of this field (number of lines, horizontally scrolling, transformation method) to be for a single-line input.
Sets the text to be displayed.
Sets the text to be displayed using a string resource identifier.
Sets the text to be displayed and the TextView.BufferType.
Sets the text to be displayed using a string resource identifier and the TextView.BufferType.
Sets the text appearance from the specified style resource.
Sets the text color, size, style, hint color, and highlight color from the specified TextAppearance resource.
Sets the text color for all the states (normal, selected, focused) to be this color.
Set the default text size to the given value, interpreted as "scaled pixel" units. This size is adjusted based on the current density and user font size preference.
Set the default text size to a given unit and value. See TypedValue for the possible dimension units.
Sets the typeface and style in which the text should be displayed.
Sets the typeface and style in which the text should be displayed, and turns on the fake bold and italic bits in the Paint if the Typeface that you provided does not have all the bits in the style that you specified.
Explicitly request that the current input method's soft input area be shown to the user, if needed.