设置PopupWindow的背景色

很多时候我们需要自己设置PopupWindoew的背景颜色,怎么做呢?直接在一工具类中写个公共方法,就可以随时引用了。 1.我的是: public class TipsUtil { //PopupWindow的背景 public static void setBackgroundAlpha(AppCompatActivity activity, float bgAlpha) {
相关文章
相关标签/搜索