使用ImageButton的background属性,而不用src属性。 然后使用width和height进行调整。 转载于:https://www.cnblogs.com/wuyou/p/3788317.html