当前位置:网站首页>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);
边栏推荐
- Chain game development finished product source code chain game system development details
- 9. Intelligent transportation project (2)
- Successfully solved the problem of garbled microservice @value obtaining configuration file
- (树) 树状数组
- Kubernetes 资源拓扑感知调度优化
- Clion编译catkin_ws(ROS工作空间包的简称)加载CMakeLists.txt出现的问题
- 品达通用权限系统(Day 1~Day 2)
- Summary of knowledge points
- Reading notes: process consulting III
- 几种常见的UML关系图汇总
猜你喜欢
随机推荐
Numpy之matplotlib
数据库SQL语句撰写
Request method 'POST' not supported
Current limiting design and Implementation
stm32和电机开发(直流有刷电机和步进电机)
On the escape of inequality value
Do you know how to compare two objects
Eigen库计算两个向量夹角
PC端录制扫515地机器人/scan数据
ARM裸板调试之串口打印及栈初步分析
Project practice 6: distributed transaction Seata
零时科技 | 智能合约安全系列文章之反编译篇
Redis single sign on system + voting system
Redis Basics
链游开发成品源码 链游系统开发详情说明
【推荐收藏】这8个常用缺失值填充技巧一定要掌握
ros::spinOnce()和ros::spin()的使用和区别
关于不等式取值转义的思路
Résumé des points de connaissance
Solidity - contract inheritance sub contract contains constructor errors and one contract calls the view function of another contract to charge gas fees









