Hi, I have tried to extend the GridLayout class (http://code.google.com/p/ apps-for-android/source/browse/trunk/Photostream/src/com/google/ android/photostream/GridLayout.java) so as to make it scrollable, but with no success. In this regard, I tried initializing the scrollbars inside the GridLayout constructor but I get an unsupported operation exception saying "Can't convert to dimension: type=0x10". In addition, in the xml layout file that uses the GridLayout class, I tried placing the FrameLayout (which has the GridLayout) inside a ScrollView but that causes the "GridLayout cannot have UNSPECIFIED dimensions" error message to be shown.
I initially was using a GridView with an adapter, but I never got it to work 'smoothly'. When I changed the code and tried to use the addView(View view) method, the method is not supported, since it is encouraged the use of an adapter. Has anybody used the GridLayout class successfully with scrolling capabilities, or know how to implement them? Many thanks, Mihai Fonoage -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en