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

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

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -