TextView

Page 1 2 3 4 5

public void setImeActionLabel(CharSequence label, int actionId) source
public CharSequence getImeActionLabel() source
public int getImeActionId() source
public void setPrivateImeOptions(String type) source
public String getPrivateImeOptions() source
public void setSelectAllOnFocus(boolean selectAllOnFocus) source

whether focus selects all the text, as Android's does for an editable one

protected void onFocusChanged(boolean focused, int direction, android.graphics.Rect previouslyFocusedRect) source
public void setOnEditorActionListener(OnEditorActionListener l) source
public void onEditorAction(int actionCode) source
public void setKeyListener(KeyListener input) source
public final KeyListener getKeyListener() source
public void setFilters(InputFilter[] filters) source
public InputFilter[] getFilters() source
public boolean onKeyDown(int keyCode, KeyEvent event) source

Typed keys edit editable text at its selection: the host keyboard arrives as key events.

Appearance

public void setTextColor(int color) source
public void setTextColor(ColorStateList colors) source
public final ColorStateList getTextColors() source
public final int getCurrentTextColor() source
public final void setHintTextColor(int color) source
public final void setHintTextColor(ColorStateList colors) source
public final ColorStateList getHintTextColors() source
public final void setLinkTextColor(int color) source
public final void setLinkTextColor(ColorStateList colors) source
public final ColorStateList getLinkTextColors() source
protected void drawableStateChanged() source
public void setTextSize(float size) source
public void setTextSize(int unit, float size) source
public float getTextSize() source
public TextPaint getPaint() source
public int getPaintFlags() source

the text paint's flags (Paint.UNDERLINE_TEXT_FLAG, STRIKE_THRU_TEXT_FLAG and the others)

public void setPaintFlags(int flags) source
public final Layout getLayout() source
public void setTypeface(Typeface tf) source
public void setTypeface(Typeface tf, int style) source
public Typeface getTypeface() source
public boolean setFontVariationSettings(String fontVariationSettings) source
public String getFontVariationSettings() source
public void setTextAppearance(int resId) source
public void setTextAppearance(Context context, int resId) deprecated source
public void setAllCaps(boolean allCaps) source
public boolean isAllCaps() source
public final void setTransformationMethod(TransformationMethod method) source
public final TransformationMethod getTransformationMethod() source
public void setTextLocale(Locale locale) source
public void setTextLocales(LocaleList locales) source
public Locale getTextLocale() source

Page 1 2 3 4 5


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.