Error:(1764, 21) 错误: 找不到符号
符号: 方法 setBackground(BitmapDrawable)
符号: 方法 setBackground(BitmapDrawable)
位置: 类型为ImageView的变量 iv_view
方法:
android studio中的imageview并没有方法setBackground只有setBackgroundDrawable
替换即可。
位置: 类型为ImageView的变量 iv_view
方法:
android studio中的imageview并没有方法setBackground只有setBackgroundDrawable
替换即可。