All Questions
Tagged with material-components-android android-textinputedittext
24
questions
1
vote
1
answer
386
views
Android TextInputEditText doesn't focus on cursor position
When trying to edit long text inside TextInputEditText, the focus goes always to the bottom, so the top (where actually the cursor is) stays out of the screen and you cannot see actually what you are ...
4
votes
1
answer
362
views
how to change material TextInputLayout hint color on empty edittext?
I'm trying to change TextInputLayout hint color in case it's edittext empty and not focused but I can't do that, and here is my layout
<com.google.android.material.textfield.TextInputLayout
...
1
vote
1
answer
535
views
Getting overlapping hint over com.google.android.material.textfield.OutlinedBox
While working with com.google.android.material.textfield.TextInputLayout, I am getting overlapping hint over the outlined box. This is the style I'm using:
Widget.MaterialComponents.TextInputLayout....
0
votes
1
answer
426
views
Changing the color of TextInputLayout's Counter
I'm trying to change the color of TextInputLayout's counter
I've tried the accepted answers but they do not work.
https://stackoverflow.com/a/33880925/11110509
<com.google.android.material....
0
votes
2
answers
828
views
Android: bottom of TextInputEditText always scrolling to top of softkeyboard
I'm using a TextInputEditText inside a TextInputLayout, which is inside a NestedScrollView:
<androidx.core.widget.NestedScrollView
android:id="@+id/nsv"
android:layout_width="...
0
votes
1
answer
748
views
How to make Underline of TextInputLayout's edittext Round Corner
I want to make round corner's of bottom line in TextInputLayout Filled Text from Material Design. I am able to change the color of it in focused and unfocussed mode but how to change the corner of it ...
6
votes
3
answers
5k
views
How to change inactive border stroke color of Android Material TextInputLayout component [duplicate]
I am trying to setting up TextInputLayout unfocused border stroke color. For the same, There are too many questions and their answers and I have tried all of them. Like Created styles and used as ...
0
votes
1
answer
427
views
Material TextInputEditText not able to center hint and to keep input value moved to bottom
On https://material.io/components/text-fields there is an interactive demo for Filled TextField.
Label hint is centered inside input field and when you click on it and enter some text, label moves up ...
1
vote
3
answers
1k
views
Show label of TextInputEditText when not focused on this
I have a layout with two TextInputEditText and when I set a text on this (programmatically or with xml) and set focus on another TextInputEditText, the above label of TextInputEditText was hidden.
I ...
0
votes
2
answers
602
views
TextInputLayout: Remove padding between text and suffixText
Am using TextInputLayout in my design for showing price layout. Added suffixText for displaying currency symbol which must be shown exactly next to entered text.
<?xml version="1.0" ...
1
vote
1
answer
886
views
how to click on drawableRight on every TextInputEditText
how to do click on drawableRight edit image of every TextInputEditText? I want to click on the edit icon and then enable to edit each field. How can i do this?
<LinearLayout
android:...
4
votes
1
answer
1k
views
change spaces of bottom line in TextInputEditText
I was working on a design that requires all views has an alignment to left.
I'm using TextInputLayout && TextInputEditText there was spaces for hint & text that are solved by setting ...
3
votes
4
answers
6k
views
password toggle icon textinputlayout override error icon
I am using a password toggle to show and hide the password. And I do not want to use the custom drawable. But, when this edit text generate error it overrides the toggle password icon and unable to ...
10
votes
2
answers
3k
views
TextInputLayout move the hint label and change it's background color when focused
I am trying to customize materials TextInpuLayout.OutlinedBox and TextInputEditText.
My current state is like following image
What I want to do is remove the background of the hint label so that ...
4
votes
4
answers
6k
views
TextInputEditText, how can align hint to the top margin
I have some trouble with a TextInputEditText and his hint message if I use the last material library version com.google.android.material:material:1.2.0-alpha02 .. I set 5 lines scrollable ...