gpt4 book ai didi

android - 调用 setCompoundDrawables() 不会显示 Compound Drawable

转载 作者:IT老高 更新时间:2023-10-28 12:50:09 25 4
gpt4 key购买 nike

在我调用 setCompoundDrawables 之后方法,复合 Drawable 没有显示出来..

Drawable myDrawable = getResources().getDrawable(R.drawable.btn);
btn.setCompoundDrawables(myDrawable, null, null, null);

有什么想法吗?

最佳答案

关于android - 调用 setCompoundDrawables() 不会显示 Compound Drawable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6590838/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com