319 questions
0 votes
1 answer
67 views
How can I clear focus from TextInputEditText when tapped anywhere else on the screen
I have this TextInputEditText in which the cursor remains visible even when I tap somewhere else on the screen. Is there any way to make the clearFocus() applicable for whole screen? <com.google....
0 votes
0 answers
41 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
32 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
27 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 = ...
1 vote
1 answer
41 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
110 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
47 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
77 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
1 answer
41 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
52 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
63 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
50 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 ...
0 votes
1 answer
91 views
Typed text is not displayed in notifications
I created an application that allows you to enter the content of the notification and select the date and time at which the notification should be displayed. Everything works fine, except that the ...
0 votes
1 answer
168 views
Android Custom TextInput Layout with Hint text and Placeholder are overlapping
I'm facing a weird issue while using a custom TextInputLayout where i have both hint text and placeholder text, in general scenario when the focus comes on the edit text then hint text float up and ...