Continuous OTP input with EditText
问题 Here is 4 EditText for input a numeric password. I want it to be like, If first EditText is filled by 1 number then, focus should goes to next EditText and should also work same in reverse manner. So that user can keep entering password from Left most and can also erase same way from Right most. Can someone suggest what can be the best approach to proceed? 回答1: You can use the library Android PinView / OtpView or you can use addTextChangedListener to add a TextWatcher which is called whenever