摘要:
1:设置选中图片的背景颜色this.gridviewToolbar= (GridView) super.findViewById(R.id.gridviewbar);this.gridviewToolbar.setSelector(new ColorDrawable(Color.TRANSPARENT));2:通过屏幕的长度,宽度来定义控件的长宽this.width = super.getWindowManager().getDefaultDisplay().getWidth()/ this.menu_img.length;this.height = super.getWindowManage 阅读全文