First, let's take a look at the picture of the problem
The problem is that when you click on the input box, the input method will be cut to the red line position, the ideal state should be in the Green line position
So, what is the cause of it?
The problem is very simple, because the Drawableleft picture is higher than the text height of the input box, and the Input method pops up when the text height is calculated, not the height of the entire input box.
So, it's going to be cut from the Green Line to the red.
How to solve it?
There are two ways to reduce the height of the left image to a smaller size than the font of the input box.
Second, the font size of the input box to adjust to higher than the height of the picture, so that our input method can be out of the position we want now
The Android IME partially obscures the UI (tangent to the EditText box)