How to inset edittext to load an image? It should be like in the vk application, see the example in the screenshot below. Thank you in advance.
1 answer
This is not a picture in EditText. This is a picture below it. Such things can be seen by turning on "show layout borders" in the developer settings on the device.
- Thanks, now the question is, will it be necessary to produce any additional manipulations so that the image is in the foreground? - Maxgmer
- @Maxgmer, did not quite understand the question. Do you mean that it doesn't go under the keyboard? .. - Yuriy SPb ♦
- so that it is not under the white EditText canvas. Or will it be immediately visible? And how to find out where the text ends in order to calculate the position of the picture? - Maxgmer
- If you are using LinearLayout vertical, then EditText will never block the image below if you also assign maxHeight or maxLines to it also - Yuriy SPb ♦
|


m- Yuriy SPb ♦