I want to use autosizing TextView for dynamic text content. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android
I'm trying move items bottom middle, and I want that it was on bottom middle for all devices. And I need add text above and under my imagviews on middel. Sorry
I want to achieve both justify text and add a link (show more) to TextView so I use justificationMode with movementMethod. justificationMode working well but af
I can get the old value. But I do not have a solution to get a new entered value. In fact, I want to separate the old value from the new value. For example: I
I'm trying to setup a textView in Kotlin to scroll in both directions (ie horizontal and vertical). That is, I want long lines to run off the right side, and us
In my case, I have a textView with a drawable icon at the start of it(android:drawableStart), when the text of textView is multi-line, the icon goes in the vert
How would one go about adding the attributes like the below to a text component in a Wear-OS Tile android:marqueeRepeatLimit="marquee_forever" android:ellipsize
I'm using such code for creating pdf from webview PrintManager printManager = (PrintManager) this .getSystemService(Context.PRINT_SERVICE); Pri
My app displays a long line of text like this: I want to add a ">" character to each line, so I tried the following code: private String addPrefixChars(Stri
I try to put a circle-shaped frame around a text view, but I just can't get it properly aligned and I can't see where the problem is. As you can see in the pict
I want to change the ellipsis string from ... to custom string, such as ...[more]. But in TextUtil, the ellipsis string is fixed: private static final St
I have 3 textviews with 2 lines. I placed them in the horizontal LinearLayout with same weight. The problem is that when I put text into this TextViews, they ha
string.xml Here is my string <string name="bullet_text"><font color="#38d98a">●</font>\t\tCucumber Detox Water (1 glass)\n<font color
I am planned to develop an App with very simple concept.The requirement is I want to add a text file from phone(Dynamic, so set span with clickabble position no
I'm new to Android & Kotlin development. I wanted to get started with a simple "Hello World", but am already running into problems. I added a Textview to
I want to set the top padding of a textview programmatically. I know you can do this with the method setPadding(). But the problem is that this method requires
I have a TextView which is rendering basic HTML, containing 2+ links. I need to capture clicks on the links and open the links -- in my own internal WebView (no
I have a problem using GridLayout using library compatibility (not tried without). I am using app:layout_gravity="fill_horizontal" instead of android:layout_gra
I have to switch between two layouts frequently. The error is happening in the layout posted below. When my layout is called the first time, there doesn't occu
I need to draw a rounded rectangle in the Android UI. Having the same rounded rectangle for TextView and EditText would also be helpful.