android - TextInputLayout error text padding -


i using textinputlayout appcompatedittext having custom xml shape based background appcompatedittext. whenever set error , error line starts beginning of layout. there way give padding error line.

enter image description here

you can reference error textview using:

textview textview = (textview) inputlayout.findviewbyid(android.support.design.r.id             .textinput_error); 

then can layout params work with.


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 -