android - TextInputLayout not reverting original edit text background on setError(null) -


i using textinputlayout appcompatedittext having custom xml shape based background appcompatedittext.

my textinputlayout is:

enter image description here

where @drawable/edittext_bg :

enter image description here

when set error on textinputlayout, background turns red ok. on removing error using seterror(null), background turns grey, not original one.

enter image description here

enter image description here

enter image description here


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -