RTL support to custom editext for drawable left
问题 I have an edittext having an image as drawable left with a non-editable prefixed editext but now i wanted to make it to support rtl. Despite my effort I am not able to support rtl. My Custom class is as follows, public class PrefixedEditText extends TextInputEditText { private String mPrefix = "+"; // can be hardcoded for demo purposes private Rect mPrefixRect = new Rect(); // actual prefix size public PrefixedEditText(Context context, AttributeSet attrs) { super(context, attrs); } @Override