In my app I\'m using custom view containing a TextInputLayout with the following code:
TextInputLayout