321 questions
0
votes
0
answers
35
views
Can I use TextInputEditText without TextInputLayout?
For a project, I was analyzing part of a Java code structure for mobile applications. During the analysis, I realized that it didn't have a TextInputLayout, but right at the beginning it imports a ...
1
vote
0
answers
25
views
Android few cursive fonts are being cropped on left react native
I have one font which is cursive. This font is visible outside of my TextInput and also outSide of text component in react native IOS but in Android if letter is curved on left it is being cropped ...
0
votes
0
answers
20
views
Unable to delete slash from str in EditText date formatter
I have a date formatter that takes in String input from a text field. It formats correctly. However, I am unable to delete the first "/" it keeps 3 strings in UI when using the keyboard ...
0
votes
1
answer
18
views
Android TextInputEditText Multiline
Iam looking for a TextInputEditText to support multiline text.
The TextInputLayout implemented in an alertdialog.
I tried everything... How to do ? :/
Thanks a lot!
example of my code:
val editText = ...
0
votes
0
answers
45
views
Android Talkback, need help figuring out how to ignore the helper text for textinputlayout
I'm trying to write a custom AccessibilityDelagate for a TextInputLayout; this contains a TextInputEditText that has a helper text labeled as "required indicating that it is going to be a ...
1
vote
1
answer
38
views
Why is the Drawable on the TextInputLayout not clearly visible?
I am trying to add a microphone button to a text field so that users can speak which will be translated to text.
My layout looks as below:
<com.google.android.material.textfield.TextInputLayout
...
1
vote
1
answer
90
views
How to add Different Padding Between Floating Hint and Input Text in Custom TextInputLayout?
I'm working on a custom TextInputLayout in my Android project. I need to differentiate the padding between the floating hint (label) and the input text. When the hint is floating (acting as a label), ...
0
votes
1
answer
41
views
How to remove TextInputEditText error underline (not the base underline) in Kotlin. What is the name of the property?
I need to remove the error underline in a TextInputEditText in Kotlin, but is not the base underline. It shows in red below the text over the base underline when the text has some syntax or spelling ...
0
votes
0
answers
25
views
Moving the focus in the series of EditText when Autofill event occur
I tried to move the edittext focus to one to another (next) when selecting the autofill (suggestions from top of the keyboard). But it is not moving properly.
The approach I tried is mentioned below.
@...
0
votes
0
answers
69
views
Input jump on TextInputLayout from empty to filled state
I am using textInputlayout and textInputEditText from material design. Everything works fine until i use some of the custom fonts from the resource file. When user starts typing on the ...
0
votes
0
answers
44
views
How to position TextInputLayout's endIconMode="clear_text" to the left side of the TextInputEditText?
I am using android:gravity="end" on TextInputEditText and the placement of the end icon in this case is far from ideal, as shown in the following image. Note that the both the hint and value ...
0
votes
1
answer
34
views
Android - TextInputEditText text being spelled inverted
I have a TextInputEditText in my fragment and whenever I type a text, it is being spelled inverted. SO if I try and type "Leonardo", it will be spelled "odranoeL". The cursor is ...
0
votes
1
answer
47
views
No space for OutlinedBox TextInputLayout label
The outline for an OutlinedBox TextInputLayout doesnt leave a space for the hint/label:
<com.google.android.material.textfield.TextInputLayout
xmlns:android="http://schemas.android.com/...
0
votes
1
answer
58
views
Remove extra padding on start of TextInputLayout
The start text of textinput layout is getting cut
Is it possible to remove the padding inside the textinput layout?
TextInput style
<style name="Widget.TextInputLayoutx" parent="...
0
votes
1
answer
45
views
I'm trying to block the paste option in a TextInputEditText in Samsung
I have a somewhat peculiar issue; I'm trying to block the paste option in a TextInputEditText. In fact, this works perfectly on my Pixel and other devices, but for some reason, it doesn't work for ...