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

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -