On Sun, Mar 25, 2012 at 10:14:12PM +0200, YuviDroid wrote: > By reading this: android.widget.LinearLayout$LayoutParams cannot be cast > to android.widget.FrameLayout$LayoutParams > > I'd say you need to change this: > msettingsLayout.setLayoutParams(new LinearLayout.LayoutParams(settingsw, > settingsh)); > into: > msettingsLayout.setLayoutParams(new *FrameLayout*.LayoutParams(settingsw, > settingsh)); > > This is most probably because your LinearLayout msettingsLayout is inside > a FrameLayout, and so its layout params must be of its parent class.
Ok, where's the FrameLayout? I haven't define one. As I said in the original post, even the word "Frame" is *NOWHERE* in my project. It''s not in the Java file. It's not in the XML files.. It's not in the Manifest. Basically (in Zsh): $ cd Android/workspace/DroidProCam $ frep -i frame **/*.xml **/*.java $ Nothing found..... So, again, where IS this frame layout defined? Thanks, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4) | Tux (E Cat): DS B+Wd Y 6 Y L+++ W+ C++/C++ I+++ spooky1...@gmail.com | T++ A E H+ S V- F++ Q+++ P/P+ B++ PA+ PL SC--- < Running FreeBSD 7.0 > | ICBM / Hurricane: | Tiggerbelle: DS W+S+Bts % 1.5 X L W C+++/C+ 30.44406N 86.59909W | I+++ T A E++ H S++ V+++ Q+++ P B++ PA++ PL+ SC Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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