自定义EditText动态在EditText中添加图片 首先自定义MyText 注意在layout中使用的使用要添加包名 android:layout_width="match_parent" android:layout_height="wrap_content">