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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -