14,116 questions
0
votes
0
answers
22
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
32
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
38
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
25
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
42
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
23
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
80
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
40
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).
...
0
votes
0
answers
33
views
Message set with "setError()" on a clickable TextView is not shown
I am not able to find the correct configuration for the behaviour I want. I have a layout with 2 TextView for displaying a date (birth and death date). To set both dates, the user touches (onClick() ...
0
votes
0
answers
16
views
Android: How to make TextViews drag- and dropable?
I am writing an Android application where I display miscellaneous text snippets on the screen. The user should be able to grab/drag a snippet and drop it onto another snippet.
This works fine (i.e. ...
0
votes
1
answer
27
views
TypefaceSpan within TypefaceSpan is not working
I want to set text with differnt typeface.
stringBuilder.setSpan(new TypefaceSpan(typeface1),10,100,Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
stringBuilder.setSpan(new TypefaceSpan(typeface2),20,30,Spanned....
1
vote
0
answers
45
views
Got error when trying to write to a TextField in XCTest
In my code below, the TextField is seen by the framework as a .textView elementType. When I write to it, I get the following error
Failed to synthesize event: Neither element nor any descendant has ...
0
votes
1
answer
49
views
Link in an Android textView not clickable
I would like to embed a link into a textView. However, the links are not underlined and not clickable.
I have the following string resource
<string name="info_efficiency_link">
...
1
vote
1
answer
112
views
Android Kotlin: how to set line spacing using Markwon heading break line
I tried searching the Markwon API and plugins, but I can't seem to find a way to add extra spacing between the lines.
Does anyone know how to do this? Should I use a specific plugin or option from the ...
0
votes
4
answers
159
views
How to prevent long text from wrapping to the next line in text view
I have a LinearLayout with multiple nested views. The main view is a CardView that contains both text and a progress bar. To ensure proper spacing inside the card, I set a padding of 50dp. Without ...