Top "Textview" questions

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

TextView with different textSize

Is this possible to set different textSize in one TextView? I know that I can change text style using: TextView …

android textview spannable
Android update TextView in Thread and Runnable

I want to make a simple timer in Android that updates a TextView every second. It simply counts seconds like …

android multithreading textview runnable
Put constant text inside EditText which should be non-editable - Android

I want to have constant text inside editText like: http://<here_user_can_write> User should not be …

android textview android-edittext material-design
Android and displaying multi-lined text in a TextView in a TableRow

I'm displaying a TableLayout with rows as follows: <?xml version="1.0" encoding="utf-8"?> <TableRow xmlns:android="http://schemas.…

android textview multiline tablelayout tablerow
Is there a way to make ellipsize="marquee" always scroll?

I want to use the marquee effect on a TextView, but the text is only being scrolled when the TextView …

android textview marquee
How do You Center a TextView in Layout?

I have a complex layout, part of which features a value centered over a label, with + and - buttons on …

android layout center textview
How to set text size using dimension from xml at runtime programmatically?

In dimens.xml, I have: <dimen name="text_medium">18sp</dimen> In runtime, I get this …

android textview dimensions
Remove underline from links in TextView - Android

I am using two textview to display links from database, I managed to change link colors but I want to …

android hyperlink textview underline
Android - How to set padding for TextView in ListView or ExpandableListView

I need to set padding for the TextView in every row of ListView or ExpandableListView. I try to use android:…

android listview textview padding expandablelistview
Android: java.lang.ClassCastException: android.widget.imageView cannot be cast to android.widget.textView

I can't fix this problem on my listview template: i have the error as in the title of my post, …

android xml templates textview imageview