That is a very good point. Thanks. -jm On Wed, Jan 25, 2012 at 2:33 PM, TreKing <[email protected]> wrote: > On Wed, Jan 25, 2012 at 1:25 PM, John-Marc Desmarais <[email protected]> wrote: >> >> Can anyone suggest why this is the case? > > > This is your code: (LinearLayout.LayoutParams)vv.getLayoutParams(); > > This is the stack trace: > java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered devices > > -- > 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
-- 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

