views:

134

answers:

1

Hi,

Can someone let me know how to add RelativeLayout or listview inside GalleryView. I have tried by returning listview or RelativeLayout from the adapter of Gallery but it gives ClassCastException java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams.

Can someone let me know how to go about it?

A: 

Could you post the code where you declare the LayoutParams of the RelativeLayout?

Tuszy
I have already managed to resolve this issue. Thanks anyways
sunil

related questions