I want to set the height of my Gridview programmatically in my application.
Is there any way to implement that?
I just want to change the gr
I think this should work:
GridView gridView = (GridView)findViewById(...); ViewGroup.LayoutParams lp=new ViewGroup.LayoutParams(width,height); gridView.setLayoutParams(lp);