Questions tagged [android-textinputedittext]

308 questions
-2
votes
1 answer
-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() { …
-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 .
-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
-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…
-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.
-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?
1 2 3
20
21