Top "Textview" questions

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

What is meant by Ems? (Android TextView)

What is meant by Ems (related to a TextView)? For example in android:ems setEms(int) Makes the TextView be …

android textview
android TextView: setting the background color dynamically doesn't work

Setting the background color programatically of an android TextView doesn't seem to work. I'm I missing something! TextView et = new …

android textview
Android - set TextView TextStyle programmatically?

Is there a way to set the textStyle attribute of a TextView programmatically? There doesn't appear to be a setTextStyle() …

java android textview
How set the android:gravity to TextView from Java side in Android

I can use android:gravity="bottom|center_horizontal" in xml on a textview to get my desired results, but I …

android android-layout textview gravity
Shadow Effect for a Text in Android?

Possible Duplicate: Android - shadow on text? How can i make shadow effect text in a TextView. Any Idea?

android textview shadow
Set the layout weight of a TextView programmatically

I'm trying to dynamically create TableRow objects and add them to a TableLayout. The TableRow objects has 2 items, a TextView …

android layout textview android-layout-weight
Android, How to limit width of TextView (and add three dots at the end of text)?

I have a TextView that I want to limit characters of it. Actually, I can do this but the thing …

android textview ellipsis
how to make a specific text on TextView BOLD

I don't know how to make a specific text on TextView become BOLD. its like this txtResult.setText(id+" "+name); …

android textview android-textattributes
Set TextView text from html-formatted string resource in XML

I have some fixed strings inside my strings.xml, something like: <resources> <string name="somestring"> <…

html android formatting textview
Set style for TextView programmatically

I'm trying to use the TextView constructor with style like this: TextView myText = new TextView(MyActivity.this, null, R.style.…

android textview android-styles