public void setAlpha (int x) 其中,参数x为透明度,取值范围为0~255,数值越小越透明。 转载于:https://www.cnblogs.com/wxmdevelop/p/6089247.html