如果想手动设置大小的话,事先要Drawable.setBoundss设置图片的位置和高宽,再使用setCompoundDrawables在左上右下某个位置显示
如果按照原有比例大小显示图片就直接使用setCompoundDrawablesWithIntrinsicBounds
如果想手动设置大小的话,事先要Drawable.setBoundss设置图片的位置和高宽,再使用setCompoundDrawables在左上右下某个位置显示
如果按照原有比例大小显示图片就直接使用setCompoundDrawablesWithIntrinsicBounds