摘要: 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 阅读全文
posted @ 2013-12-06 09:12 xiaochao1234 阅读(650) 评论(0) 推荐(2) 编辑