The method setBackgroundDrawable(Drawable) from the type View is deprecated
这表示方法:setBackgroundDrawable(Drawable)已被遗弃,用setBackgroundResource(resid)替换即可,并且使用更方便
eg:
button[initial_i][initial_j].setBackgroundResource(R.drawable.hero);
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。