Top "Textview" questions

Text View is an UI element that allows users to view and/or modify the displayed text.

Android Spanned, SpannedString, Spannable, SpannableString and CharSequence

Android offers a variety of interfaces all related to text and strings: Spanned, SpannedString, Spannable, SpannableString and CharSequence. I have …

android textview
android-TextView setText in Html.fromHtml to display image and text

I try to display the text and image in Html.fromHtml() but it is doesn't work in image display. message = (…

android html textview imageview settext
How to get rid of the underline in a Spannable String with a Clickable Object?

I have a Spannable Object with a Clickable Object set to it. When the Spannable String is displayed in the …

android textview spannable
Android single line TextView without the dots

Is it possible to have a single line TextView that cuts off at the nearest pixel and does not add …

android textview truncate
Custom cut/copy action bar for EditText that shows text selection handles

I have an app where I want to be able to show a TextView (or EditText) that allows the user …

android android-edittext textview contextual-action-bar
Android Layout - layoutweight and weightsum

I need to build a layout with the set of linear layouts. The layout has to occupy a defined percentage …

android android-layout textview android-listfragment
How to use EditTextPreference as a masked Password text field?

I have a very simple question: I have a EditTextPreference dialog which I want to use for getting the user's …

android textview android-preferences
How to auto-adjust text size on a multi-line TextView according to the view max dimensions?

I've been searching for a way of auto fit a text inside a textview. Through my search I've found many …

android textview word-wrap typeface text-size
Is the xml attribute singleLine deprecated or not in Android?

singleLine is/was used in xml layout files for TextView and EditText something like the following: <TextView android:layout_…

android android-edittext attributes textview android-singleline
Updating TextView every N seconds?

I've been very confused about this recently and can't find an answer anywhere. When programming for android, I want to …

android textview self-updating