899 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
42
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 ...
0
votes
0
answers
38
views
How to level two TextInputLayout next to each other when one has END_ICON_CLEAR_TEXT and the other END_ICON_NONE?
Consider that:
Al2TextView inherits from TextView
Al2TextInputLayout inherits from TextInputLayout
Al2TextInputEditText inherits from TextInputEditText
When entering text into the second field (...
1
vote
1
answer
42
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
113
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
0
answers
29
views
app:passwordToggleEnabled not working, no funciona
I am working on a login for my application, but I implemented an app:passwordToggleEnabled, but it is not visible, I even added an app:passwordToggleTint but it is still not visible, I hope you can ...
0
votes
1
answer
70
views
How to show border on TextInputLayout in Android Kotlin without MaterialComponents support
How to show border on TextInputLayout in Android without MaterialComponents.
I have an AppCompatActivity using AppTheme.DialogTheme to show the Activity as a Dialog, but this configuration does not ...
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
37
views
Fixing hint placement in my Android application
So, I use TextInputLayout and EditText to input email, but I have some trouble with hint placement. I also don't know how to change the color of this "I" symbol. Here is my XML for this ...
0
votes
1
answer
30
views
How to toggle visibility of two password fields with one toggle in Android XML using Kotlin?
I have two password fields one is password another is confirm password. I want to use only one toggle in password field EditText using TextInputLayout's property passwordToggleEnabled="true"....
1
vote
1
answer
363
views
How to maintain keyboard focus with a searchable dropdown menu in Jetpack Compose?
I'm trying to implement a searchable dropdown menu in Jetpack Compose, but whenever the dropdown appears, the keyboard loses focus and disappears. How can I modify the code to prevent the keyboard ...
0
votes
1
answer
64
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
89
views
How to show success state on TextInputLayout (similar to setError())
I need to show a success state on Material's TextInputLayout. I just need the same UI as this layout shows when an error is set. Following is what I need:
class CustomTextInputLayout(
context: ...
0
votes
1
answer
171
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 ...
0
votes
0
answers
63
views
Center text vertically inside Android material TextInputLayout when it has fixed height in DP
I have a TextInputLayout which I want to have its height defined explicitly in DP.
When I tried that, the text was not aligned inside TextInputLayout vertically in center. This question already asked ...