Measure height of TextInputLayout error container : <p>Hi I have to make layout as below, edit text has to be in <code>TextInputLayout</code> to have error and floating hint functionality, and spinner on the right must have underline. My question is how to do it, because when I'm adding <code>EditText</code> into <code>TextInputLayout</code> there is a padding bellow and both underlines aren't in the same line. Is it possible to measure somehow this error container height?
<a href="https://i.stack.imgur.com/0Gs6q.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0Gs6q.png" alt="enter image description here"></a></p>
