当前位置:网站首页>Button how to dynamically set drawablebottom (setcomposunddrawables is invalid)
Button how to dynamically set drawablebottom (setcomposunddrawables is invalid)
2022-06-26 18:57:00 【xiyangyang8110】
Get Drawable After resources ,setBounds,setCompoundDrawables
Drawable drawable = getResources().getDrawable(R.drawable.quick_login);
drawable.setBounds(0 ,0,drawable.getMinimumWidth(),drawable.getMinimumHeight());
normalLoginBt.setCompoundDrawables(null,null,null,drawable);
边栏推荐
- The successfully resolved idea cannot use the log normally after referencing Lombok's @slf4j
- NFTGameFi链游系统开发详解方案丨链游系统开发原理解析
- Summary of several common UML diagrams
- ros::spinOnce()和ros::spin()的使用和区别
- 問題解决:虛擬機無法複制粘貼文件
- Interview key points that must be mastered index and affairs (with B-tree and b+ tree)
- 50 lines of code to crawl TOP500 books and import TXT documents
- Microservice architecture
- (树) 树状数组
- Comparing the size relationship between two objects turns out to be so fancy
猜你喜欢
随机推荐
To: seek truth from facts
数据库SQL语句撰写
Logstash安装及使用
深度学习之Numpy篇
手机影像内卷几时休?
微服务版单点登陆系统(SSO)
The successfully resolved idea cannot use the log normally after referencing Lombok's @slf4j
[MySQL series] collection of common working SQL (continuous update)
Handwritten numeral recognition based on tensorflow
【推荐收藏】这8个常用缺失值填充技巧一定要掌握
字符串String转换为jsonArray并解析
品达通用权限系统(Day 3~Day 4)
交叉编译环境出现.so链接文件找不到问题
Kubernetes 资源拓扑感知调度优化
项目实战六:分布式事务-Seata
Clion compiling catkin_ WS (short for ROS workspace package) loads cmakelists Txt problems
Current limiting design and Implementation
Feign远程调用
JSONUtils工具类(基于alibaba fastjson)
Vscode 基础必备 常用插件









