新建类继承此控件,复写setpressed方法,
public void setPressed(boolean presses){
super.setPressed();
setScaleX(pressed ? (float) 0.9 : 1);
setScaleY(pressed ? (float) 0.9 : 1);
}
新建类继承此控件,复写setpressed方法,
public void setPressed(boolean presses){
super.setPressed();
setScaleX(pressed ? (float) 0.9 : 1);
setScaleY(pressed ? (float) 0.9 : 1);
}