Did you try using  setColumnWidth and gravity..

http://code.google.com/android/reference/android/widget/GridView.html

You could get the instance of the view by using aActivity.findViewById
() method, cast that isntance to GridView and use setColumWidth etc to
dynamically change the values.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com


On Jan 24, 11:24 am, jj <[email protected]> wrote:
> is it possible to set dynamically(from code) width and height of
> gridview, if so what r methods.
> I want to keep my gridview changeable at run time in width and height.
> ( if this is not available; Is there any other solution?.)
>
> Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to