[android-developers] Re: custom viewgroup with a background.

2011-09-08 Thread billconan
Sorry, I shouldn't use different names. I guess I am too new to JAVA On Sep 8, 5:47 am, TreKing treking...@gmail.com wrote: On Wed, Sep 7, 2011 at 11:58 PM, billconan billco...@gmail.com wrote: suppose I have a function named kkk Why ... why would you name your function that ... ? which

[android-developers] Re: Custom ViewGroup

2010-09-26 Thread John Gaby
So in my onMeasure routine I need to enumerate the children, compute their new size and call each child's 'measure' function? If so, is there somewhere that describes how I create the parameters for that call? Thanks. On Sep 26, 9:53 am, Romain Guy romain...@android.com wrote: If you change

[android-developers] Re: Custom ViewGroup

2010-05-18 Thread John Gaby
Never mind, pilot error. The .layout method takes l, t, r, b, not width and height. Duh! Thanks. On May 18, 10:11 pm, John Gaby jg...@gabysoft.com wrote: I am new to Android, and I am trying to understand how to create a custom ViewGroup.  I created MyViewGroup as follows: public class

[android-developers] Re: Custom ViewGroup with animated View inside

2009-07-03 Thread ioRek
interesting question :D On 17 juin, 21:15, Deren adam.d0...@gmail.com wrote: I want to have a ViewGroup with anotherViewin it. The user should be able tomovethe otherViewaround the ViewGroup, and fling it away. However, the innerViewshouldnt onlymove, it should also scale and so on (so we