Top "Textview" questions

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

How to change text of a TextView in navigation drawer header?

I want to change the text of a TextView inside the navigation drawer header. But I get this error: java.…

java android textview
Android: Last line of textview cut off

I have a horizontal LinearLayout containing a TextView followed by a Spinner next to it. This LinearLayout is dynamically inflated …

android layout textview layout-inflater
How can I show ellipses on my TextView if it is greater than the 1 line?

I have the following Layout which does not work: <LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:…

java android android-linearlayout textview
How to wrap text to next line in an Android TextView?

I am using following TextView to display some data in it: <TextView android:id="@+id/notificationText" android:layout_height="…

android textview word-wrap android-sdk-2.1
Set border and background color of textView

I have a TextView defined in XML and i would like to set background color AND border to it. Problem …

android background textview border background-color
How to set emoji by unicode in a textview?

Hi I'd like to do the following: ??? unicode = U+1F60A String emoji = getEmojiByUnicode(unicode) String text = "So happy " textview.…

android unicode textview encode emoji
TextView onClick() not working

here's my code for main.xml <merge xmlns:android="http://schemas.android.com/apk/res/android"> <RelativeLayout …

android android-layout onclick textview
How to avoid overlap view in relative layout in android?

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_…

android android-layout android-imageview textview android-relativelayout
How to make the text direction from right to left

I want to write text in (right to left language i.e. Arabic) in a TextView. But I want to …

android textview right-to-left
How to set font weight as light, regular in Android

I have 3 text views. I need to set their weight as Light, Regular and Condensed. Can someone help me on …

android uitextview textview