Clear Icon not visible in TextInputLayout issue with custom TextWatcher

If you are using custom TextWatcher with with your TextInputEditText then you may notice
  • <item name="endIconMode">clear_text</item> set to TextInputLayout is not visible after some finding working on that found out its issue with material design library version 1.1.0 if you upgrade to latest material design library 1.2.1 stable version this issue doesn't happen.
  • another noticeable issue was when you set error the red line and text below also overlap in 1.1.0 library version which seems to be working fine now in 1.2.1 version.
  • one thing which is still issue is if you have something like this custom text-watcher textInputEditText.addTextChangedListener(UsPhoneNumberFormatter(textInputEditText))) error text jumps up and down bit while user is typing in the field. 


Popular posts from this blog

Using TabLayout and ViewPager with CollapsingToolbarLayout

Styling TextInput Layout with material design library

styling android TabLayout material design