80,349
社区成员
发帖
与我相关
我的任务
分享
FrameLayout fl=(FrameLayout)findViewById(R.id.frameLayoutMain);
ImageButton ibSelectable = new ImageButton(this);
ibSelectable.setImageResource(R.drawable.icon_unselectable);
fl.addView(ibSelectable, 120, 90);