Questions tagged [android-textinputedittext]

308 questions
0
votes
2 answers

Android accessibility in Edit text box text not reading properly/Expect After Talk back on

I am creating app for blind people. there, when blind people after entered the zip code on that profile registration Edit Text box, like 45987. It reading as Fourty Five Thousand and Nine hundred eighty seven. But, I want to read an Four Five Nine…
0
votes
1 answer

Edittext : maxLength with limit 3 input numbers

I want to limit number of letter entry to 18 characters and also cannot use more than 3 number digits. To limit the length I've already done my code but don't know what to do with 3 number digits.
Android Guy
  • 573
  • 1
  • 8
  • 18
0
votes
1 answer

TextInputLayout - setError Does Not Change Floating Hint Colour To Error Colour

I am having an issue with the TextInputLayout error state. When I set the error on the TextInputLayout, then error message is red, along with the underline, but the hint does not (it stays the default colour - grey). I have played around with…
0
votes
3 answers

How to sync two or more EditTexts in android?

I want to use three EditTexts and when the user changes the content of one EditText the changes should be reflected in other two EditTexts.This behaviour should be the same with all the EditTexts. Let's say e1,e2,e3 are the id's of three Edittexts…
0
votes
1 answer

How to set an InputType to display negative float number for an inputTypeEditText

I need to display negative and positive values inside an TextInputEditText. I am setting the inputType programatically: inputTypeEditText.setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL); the above code works for…
aurelianr
  • 538
  • 2
  • 12
  • 35
0
votes
4 answers

how can i create EditText like instagram with send button inside EditText

how can I create EditText like Instagram's chat activity? EditText with send button inside in it. i tried to create that using ImageButton but it doesn't work quite well as the Text goes under image whenever i type. and if set limit of words per…
0
votes
1 answer

How to hide ActionPopupWindow of Text Selection Handler of EditText

Actually I want to hide ActionPopupWindow (popup having SELECT ALL, CLIPBOARD options) when user click on + icon(refer to the attached image). ActionPopupWindow appears when user click on the Text Selection Handler(bubble) (which appears when user…
0
votes
1 answer

Cannot edit a TextInputEditText after setting an error on it in Android 6.0

I have a bunch of TextInputEditText's in my layout defined like so:
Sebastien
  • 3,583
  • 4
  • 43
  • 82
0
votes
0 answers

What's the appropriate way of handling IME_ACTION_SEND in EditText?

Looking at the Android documentation here: https://developer.android.com/training/keyboard-input/style.html, specifically: EditText editText = (EditText) findViewById(R.id.search); editText.setOnEditorActionListener(new OnEditorActionListener() { …
HelloWorld
  • 3,381
  • 5
  • 32
  • 58
0
votes
2 answers

Cannot set text to EditText from custom dialog

I had some problem with setting text to EditText. There are no error occur and I can get text from customDialog, but when I set text to edittext nothing happen. This is a pact of xml file that use to set up edittext.
0
votes
1 answer

Android - TextInputEditText accepts Alphabets produce issue when I set max length and android:imeOptions="actionNext" not show on Keyboard

I have take TextInputEditText for first name only accepts alphabets but i have got problem.
Dileep Patel
  • 1,988
  • 2
  • 12
  • 26
0
votes
0 answers

TextInputLayout hint tag remove or gone

Below is my login page but problem is that suddenly my TextInputLayout is working strange behavior with me. First 15 days it was working nice but today when I write any value hint tag of TextInputLayout gone/hide. Thanks in advance..
Muhammad Adil Sattar
  • 4,871
  • 2
  • 9
  • 6
0
votes
1 answer

How to Hide error message prompt?

I need to display an error message in edittext view when filed is empty or invalid. Issue is when any edittext has error message prompt at that time if user open navigation drawer error message appear over the drawer. I want navigation drawer…
0
votes
0 answers

Attempt to invoke virtual method 'void android.support.design.widget.TextInputLayout.setError(java.lang.CharSequence)' on a null object reference

i am using AwesomeValidation library for validation, the app crashes & gives a null object reference error ,i am not able to find what is reffering to null help .