Questions tagged [android-textinputedittext]
308 questions
-2
votes
1 answer
Getting Error while setError("") with TextInputLayout?
Below is my code;
xml

Vishal Vaishnav
- 3,346
- 3
- 26
- 57
-2
votes
1 answer
How to check EditText for alphabet validation in Android
In my application I want use EditText and for this I should set limited for this EditText.
In my EditText JUST support alphabet (a-z, A-Z) and for this I wrote below code:
registerUsernameEdtTxt.addTextChangedListener(new TextWatcher() {
…

Dr.Kong
- 25
- 8
-2
votes
2 answers
how to use this element of edittext in android
when input is not valid, instead of toast or sth else this kind of new thing appears to warn the user . Does anyone know how I can use it in my own app ?
Image is attached . Tnx in advance .

Pedram Yazdipour
- 59
- 7
-3
votes
1 answer
How to check entering number in edittext after decimal is only 5 or 0
I want to check length of entered number while entering the value in edittext. Also i want to check user can only able to enter 5 or 0 after decimal point.
Thanks

pankaj gupta
- 15
- 6
-4
votes
3 answers
How to change the hint color property dynamically when its unfocsed state?
I need to change hint color property dynamically when its unfocused.
Is it possible to change the hint color dynamically(Not in focused state).
Actual Design
and my xml
I can't change the hint color property programmatically when it is…

Vivek Annamlai
- 43
- 1
- 9
-4
votes
3 answers
Design Android EditText to show error message on floating label hint
I need an EditText that looks like this onError:
calling onError looks like this:
Error message will show on top,floating label hint will change to error message.
I tried some methods.but it won't come as per design.

Vivek Annamlai
- 43
- 1
- 9
-5
votes
1 answer
How can we write text on EditText Border?
How can we achieve this things in android?
InputText of EditText on Border?

Prashant Arvind
- 2,139
- 20
- 27