EditText

Class of android.widget · EditText.java · Android's reference

public class EditText extends TextView

EditText ← TextView ← View

A text view whose text the user edits.

Extended in the framework by

Constructors

public EditText(Context context) source
public EditText(Context context, AttributeSet attrs) source
public EditText(Context context, AttributeSet attrs, int defStyleAttr) source
public EditText(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) source

Methods

public boolean getFreezesText() source
protected boolean getDefaultEditable() source
public Editable getText() source
public void setText(CharSequence text, BufferType type) source
public void setSelection(int start, int stop) source
public void setSelection(int index) source
public void selectAll() source
public void extendSelection(int index) source
public CharSequence getAccessibilityClassName() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.