我使用TextView
以编程方式将复合可绘制设置为setCompoundDrawablesWithIntrinsicBounds(myDrawable, null, null, null)
。我的TextView
设置为有15行作为我的应用中的TextArea。目前,Drawable
在绘制时会以TextView
为中心,但我希望它左上角对齐。这可能吗?
我已经尝试了setCompoundDrawablesWithIntrinsicBounds(null, myDrawable, null, null)
但是Drawable
位于我的文本之上,它需要左上角。