That is a very good point. Thanks. -jm On Wed, Jan 25, 2012 at 2:33 PM, TreKing <treking...@gmail.com> wrote: > On Wed, Jan 25, 2012 at 1:25 PM, John-Marc Desmarais <j...@ieee.org> 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 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
-- 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