14,112 questions
0 votes
1 answer
103 views
TextView Gradient Colour not showing properly in android
I am trying to implement the gradient design into textview like below via LinearGradient but after trying for several hours even with AI tools i am not able to get desired result. I used this as ...
0 votes
0 answers
35 views
Empty AlignmentSpan.Standard span affect previous line in EditText
Some background: I have EditText where user could choose AlignmentSpan.Standard span for each line independently. By default line has Layout.Alignment.ALIGN_NORMAL alignment. The problem: When type ...
0 votes
1 answer
43 views
Does assigning a string to TextView.text in Kotlin make a copy or store a reference?
I'm trying to understand how string assignment works in Android when using a TextView. Specifically, I'm wondering whether assigning a String to the .text property of a TextView results in a copy of ...
1 vote
0 answers
65 views
Android TextView Marquee: How to Control Scroll Speed? ObjectAnimator Alternative Text Cutting
I'm building a text display app that needs horizontal scrolling text with controllable speed. I've spent time trying different approaches but had issues with both. I third to achieve: Horizontal ...
1 vote
0 answers
75 views
Fading line appearing after Text In TextView
I have a recyclerView which displays cards with TextViews. Whenever a new textView appears, a line appears after the text, which quickly disappears. I am not sure what it is and looking for a solution ...
0 votes
1 answer
52 views
Autosizing on {NS,UI}Textview works, but background colours leak outside the view
All, I am programmatically creating NSTextView (and UITextView on iOS) objects on a canvas (just an {NS,UI}View. I am working on auto-resizing (which works), but there are some strange behaviours. ...
0 votes
0 answers
61 views
TextView in android studio service doesn't update/goes back to its initial text when service is shut down and called again
I have a service in my code that is meant to display a different brain teaser question each time the service is called on. I can get the question to change on my service, but when I have the service ...
0 votes
0 answers
33 views
Unresolved reference: 'firebase' in Kotlin Android project after adding dependencies
Caused by: org.gradle.api.internal.artifacts.ivyservice.TypedResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. com.android.application kotlin-android kotlin-...
0 votes
1 answer
36 views
How can I copy the line height config of one TextView to another TextView?
I am working on localizing my app into Bengal. I found that the Bengal numbers take up more line height than the arabic numbers do, and now I want to dynamically make sure that all TextViews have the ...
0 votes
1 answer
39 views
Android - two textView side by side with multiline
I'm trying to have 2 textView side by side. Both are unknow width. The first one should display on multiple lines if it's too long and the second one should always be visible and not resized. This is ...
0 votes
0 answers
33 views
Auto size for TextView for Korean language is not work as expected
I use TextView with big height and set auto text size. But it is not work for Korean language. I can fix it by decrease height but it is not good solution for me. Just for example: <LinearLayout ...
0 votes
0 answers
59 views
Android AutoCompleteTextView dropdown items don't wrap text properly and show truncated content
I have an Android app with AutoCompleteTextView dropdowns for country selection. The dropdown items are getting truncated and not wrapping properly. Here's what I'm seeing: Current Implementation: ...
0 votes
1 answer
36 views
Row of TextViews not displaying on Samsung Galaxy 33 device
I have been working on an app for a while, which is in production on the store. At the last revision a problem appeared when running the app on a Samsung Galaxy 33A device. The problem does not show ...
0 votes
0 answers
135 views
TextView with disabled word wrap, instead wrap (line break) at any character
I have a multiline TextView for which I want to disable word wrap completely and have the sentence break at the end of the line, whichever character that might be, in the middle of the "word"...
0 votes
1 answer
51 views
Android: Display concrete part of text in TextView
I'm creating search in app and highlighting part of text in TextView (with spannable). But text fields has fixed width/height and search match could be behind TextView border (not displayed to user). ...