Top "Textview" questions

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

How do I add a newline to a TextView in Android?

When I define a TextView in xml, how do I add a new line to it? \n seems not to …

android newline textview
How to hide underbar in EditText

How can I hide the EditText underbar (the prompt line with little serifs at the ends)? There might be a …

android textview android-edittext
Multiline TextView in Android?

I did like below in xml <TableRow> <TextView android:id="@+id/address1" android:layout_width="fill_parent" …

android textview tablelayout multiline
How to set text color to a text view programmatically

How can I set Text Color of a text view to #bdbdbd programatically?

android textview background-color
How to add a line break in an Android TextView?

I am trying to add a line break in the TextView. I tried suggested \n but that does nothing. Here …

android textview line line-breaks
How to click or tap on a TextView text

I know this is so easy (doh...) but I am looking for a way to run a method on tapping …

android onclick listener textview
How to add a TextView to LinearLayout in Android

I am trying to add TextViews to my xml-defined layout in code. I have a xml-sheet, where a lot of …

java android xml textview android-linearlayout
Is it possible to have multiple styles inside a TextView?

Is it possible to set multiple styles for different pieces of text inside a TextView? For instance, I am setting …

android styles textview
Android selector & text color

I want a simple TextView to behave the way simple_list_item_1 in a ListView does. Here's the XML: <…

android textview android-selector