Added in API level 1
Deprecated in API level 26

DialerFilter


open class DialerFilter : RelativeLayout
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ android.widget.RelativeLayout
   ↳ android.widget.DialerFilter

This widget is a layout that contains several specifically-named child views that handle keyboard entry interpreted as standard phone dialpad digits.

Summary

Inherited XML attributes
Constants
static Int

This mode has both lines

static Int

This mode is when after starting in DIGITS_AND_LETTERS mode the filter has removed all possibility of the digits matching, leaving only the letters line

static Int

This mode is when after starting in DIGITS_AND_LETTERS mode the filter has removed all possibility of the letters matching, leaving only the digits line

static Int

This mode has only the digits line

static Int

This mode has only the letters line

Inherited constants
Public constructors
DialerFilter(context: Context!)

DialerFilter(context: Context!, attrs: AttributeSet!)

Public methods
open Unit
append(text: String!)

open Unit

Clears both the digits and the filter text.

open CharSequence!

open CharSequence!

open CharSequence!

open Int

open Boolean

open Boolean
onKeyDown(keyCode: Int, event: KeyEvent!)

open Boolean
onKeyUp(keyCode: Int, event: KeyEvent!)

open Unit

open Unit

open Unit

open Unit

open Unit
setMode(newMode: Int)

Change the mode of the widget.

Protected methods
open Unit

open Unit
onFocusChanged(focused: Boolean, direction: Int, previouslyFocusedRect: Rect?)

Only show the icon view when focused, if there is one.

open Unit
onModeChange(oldMode: Int, newMode: Int)

Called right after the mode changes to give subclasses the option to restyle, etc.

Inherited functions