The drawable to be drawn to the right of the text. The padding between the drawables and the text. The drawable to be drawn to the left of the text. The drawable to be drawn to the end of the text. If set, specifies that this TextView has a numeric input method and that these specific characters are the ones that it will accept. Makes the cursor visible (the default) or invisible. If set, specifies that this TextView has a textual input method and should automatically capitalize what the user types. If set, specifies that this TextView has a textual input method and automatically corrects some common spelling errors.īreak strategy (control over paragraph layout).ĭetermines the minimum type that getText() will return. User interface state that is stored by TextView for implementing onSaveInstanceState().Ĭontrols whether links such as urls and email addresses are automatically found and converted to clickable links. Interface definition for a callback to be invoked when an action is performed on the editor. See TextView Attributes, View Attributes Summary Nested classes The textIsSelectable flag allows users to make selection gestures in the TextView, which in turn triggers the system's built-in copy/paste controls. To allow users to copy some or all of the TextView's value and paste it somewhere else, set the XML attribute android:textIsSelectable to "true" or call setTextIsSelectable(true). A TextView is a complete text editor, however the basic class is configured to not allow editing see EditText for a subclass that configures the text view for editing. SwitchCompat is a version of the Switch widget which on devices back to API v7.Ī special sub-class of EditText designed for use as a child of TextInputLayout.ĭisplays checked/unchecked states as a button with a "light" indicator and by default accompanied with the text "ON" or "OFF".ĭisplays text to the user and optionally allows them to edit it. Specialization of EditText for showing and interacting with the extracted text in a full-screen input method.Ī custom EditText that satisfies the IME key monitoring requirements of GuidedStepFragment.Īn editable text view, extending AutoCompleteTextView, that can show completion suggestions for the substring of the text where the user is typing instead of necessarily for the entire thing.Ī radio button is a two-states button that can be either checked or unchecked.ĮditText widget that monitors keyboard changes.Ī Switch is a two-state toggle switch widget that can select between two options. Allows dynamic tint of it background via the background tint methods in CompoundButtonCompat.Ī CheckedTextView which supports compatible features on older version of the platform.Ī EditText which supports compatible features on older version of the platform, including:Ī MultiAutoCompleteTextView which supports compatible features on older version of the platform, including:Ī RadioButton which supports compatible features on older version of the platform, including:Īn editable text view that shows completion suggestions automatically while the user is typing.Ī checkbox is a specific type of two-states button that can be either checked or unchecked.Ī button with two states, checked and unchecked.
Supports textAllCaps style attribute which works back to Eclair MR1.Ī Button which supports compatible features on older version of the platform, including:Ī CheckBox which supports compatible features on older version of the platform, including:.Similarly, typographers will often remove letterspacing from lowercase text used at larger sizes (e.g., headlines).Īs with kerning, if you use paragraph and character styles to make a style with all caps or small caps, include letterspacing as part of the style definition.A AutoCompleteTextView which supports compatible features on older version of the platform, including:
But typographers will often add letterspacing to lowercase text smaller than 9 point in order to keep the spaces between letters distinct. Fonts intended for body text have spacing optimized for body-text point sizes (approximately 9–13 point). I accept the minority view on Goudy’s comment because, as Goudy was doubtless aware, sometimes lowercase should be letterspaced. But a few sources claim that his original comment concerned blackletter fonts, not lowercase, and that he used a more colorful verb than “steal”. Typographer Frederic Goudy is famously credited with opining that “Anyone who would letterspace lowercase would steal sheep”.