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' -

Google sheets equipment borrowing system -

c# - Ploeh AutoFixture was unable to create an instance from System.Runtime.Serialization.ExtensionDataObject -