On Mon, Jul 5, 2010 at 1:23 PM, samspade79 <[email protected]> wrote: > Not sure what you mean by what class it really is? I'm instantiating > it directly in code so I know what class it is (or at least I think I > do?)
Whoops, sorry, misread your post. I thought the ClassCastException was on retrieving the existing LayoutParams, not setting them. You could, however, examine what the existing LayoutParams are, using your debugger or Log. How are you creating your rows? If you are inflating them from layout XML files, be sure to use the inflate(R.layout.whatever, parent, true) call. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Consulting: http://commonsware.com/consulting -- 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

