I am trying to create a layout like in the picture below
In the above picture the password field is in the TextInputLayout and it also have a TextView in the right side
Try Like this - Surround with Relative or Linear Layout to get the output like that
Note : Set some padding right for edit text for alignment
If you type full edittext , the textview overlay for your character .