FloatingHintEditText

An AppCompatEditText extension containing a floating hint text, a colored underline and bottom error text.

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, style: Int)
constructor(@NonNull context: Context, @Nullable floatingHintText: String)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, @Nullable floatingHintText: String)
constructor(@NonNull context: Context, @Nullable attrs: AttributeSet, style: Int, @Nullable floatingHintText: String)

Types

Link copied to clipboard
Listener interface for events on the FloatingHintEditText.

Functions

Link copied to clipboard
open fun onKeyPreIme(keyCode: Int, event: KeyEvent): Boolean
Link copied to clipboard
open fun setErrorColor(errorColor: Int)
Sets the color for the error text.
Link copied to clipboard
open fun setFloatingHintColor(floatingHintColor: Int)
Sets the color for the floating hint text.
Link copied to clipboard
open fun setHintColor(color: Int)
Sets the color for the hint text.
Link copied to clipboard
fun setPadding(left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
Sets a listener to be notified of a pdf editing events.
Link copied to clipboard
open fun setPrimaryColor(color: Int)
Sets the primary color for the FloatingHintEditText.
Link copied to clipboard
open fun showError()
Show error.