I would like to extend ViewFlipper, so that I can override some of the functions. I borrowed some code from the Flipper Demo in Murphy's Busy Coders book.
I made my own class that extends it, but I have to pass in an AttributeSet, when I instantiate it. How do I get that from my xml? Here is the original code: flipper=(ViewFlipper)findViewById(R.id.details); Here is my new code: AttributeSet myAttributeSet = ??; myExtendedViewFlipper flipper = new myExtendedViewFlipper ( this, myAttributeSet); thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---