I would like to have a list of instructions that are correctly numbered in an enumeration. For that I use the SpannableString and I have the following code: //G
I'm using UIKeyCommands - Cmd+B to bold text. The code works fine to bold the text. But after i use the Cmd+B and when I type "b" the first time it doesn't disp
I'm using UIKeyCommands - Cmd+B to bold text. The code works fine to bold the text. But after i use the Cmd+B and when I type "b" the first time it doesn't disp
I have a problem to focus an input textfield inside a webview. In the webview a text input field is shown. If you click inside, the keyboard opens and the navig
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