The text comes up on the photo.how to set element padding-right text from mic image
Instead of relying on padding, I suggest you to learn ConstraintLayout. This layout is most widely used these days. It sets constraints (like rules) for parent layout and your components. It is much better than padding, which needs to be set differently for different screen sizes and densities.
To use ConstraintLayout, follow these steps:
TextView and ImageView under ConstraintLayout.Chains -> Create Horizontal Chain.This set constraints on both of the components and they will never overlap.
For in-depth understanding of ConstraintLayout, check: