Questions tagged [textinputlayout]

114 questions
0
votes
1 answer

How to handle TextInputLayout through Java

I want to make an Interface for route-planning purposes that has 2 states 1 - Inputting start and target addresses 2 - Doing the same thing through GPS location services I have made the Content layout through the XML file but since I need to switch…
0
votes
0 answers

RecyclerView within NestedScrollView issue

I add a RecyclerView inside a NestedScrollView and recycler view has multiple Textinputlayout. Scrollview jumps when keyboard comes up and goes down. I have tried adjustPan and adjustResize in AndroidManifest and…
0
votes
4 answers

2 hints appearing when TextInputLayout is focused

I am having some trouble with the TextInputLayout. When the TextInputLayout is focused, I am seeing the hint text float above the text field and also stay on the text field. Attaching images: And when I type stuff on the field, the text overlaps…
DrkStr
  • 1,752
  • 5
  • 38
  • 90
0
votes
1 answer

how to apply TextInputLayout style and errorTextAppearance style both

I am trying to implement both styles in text input but it's not working while applying errorTextAppearance style I am getting an error. 08-20 09:55:27.959 5081-5081/com.rayvatapps.ctvforme E/AndroidRuntime: FATAL EXCEPTION: main Process:…
Keyur Patel
  • 172
  • 1
  • 2
  • 12
0
votes
2 answers
0
votes
3 answers

How do I clear Text Input Layout set error upon any change in the input?

I have tried to use textinputlayout.setError(null) using TextWatcher, but the error still shows. It only disappears upon returning to the activity after going to another one
0
votes
2 answers

TextInputLayout hint color not match in floating and normal state

I want hint color to be same (pink) in both state. What I am doing