自定义EditText动态在EditText中添加图片

首先自定义MyText

注意在layout中使用的使用要添加包名

android:layout_width="match_parent"

android:layout_height="wrap_content">

原文地址:https://www.cnblogs.com/rainhome/p/5325645.html