Top "Textview" questions

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

How to set TextView textStyle such as bold, italic

How to set TextView style (bold or italic) within Java and without using the XML layout? In other words, I …

android textview styles
Android TextView Justify Text

How do you get the text of a TextView to be Justified (with text flush on the left- and right- …

android text format textview justify
How to change the font on the TextView?

How to change the font in a TextView, as default it's shown up as Arial? How to change it to …

android fonts textview
How do you change text to bold in Android?

How do you change text/font settings in an Android TextView? For example, how do you make the text bold?

android text textview
how to change text in Android TextView

I tried to do this @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); t=new …

android textview
Is there an easy way to add a border to the top and bottom of an Android View?

I have a TextView and I'd like to add a black border along its top and bottom borders. I tried …

android border android-view textview
Auto Scale TextView Text to Fit within Bounds

I'm looking for an optimal way to resize wrapping text in a TextView so that it will fit within its …

android scale textview word-wrap
android on Text Change Listener

I have a situation, where there are two fields. field1 and field2. All I want to do is empty field2 …

java android textview onchange
Android - Handle "Enter" in an EditText

I am wondering if there is a way to handle the user pressing Enter while typing in an EditText, something …

android android-edittext textview
Right align text in android TextView

I have a TextView in my application. I want to align the text in it to the right. I tried …

android alignment textview