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

2011-09-08 Thread TreKing
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 overrides the function aaa, That doesn't make sense. You can't override a function with a different name. Let's assume you

[android-developers] custom viewgroup with a background.

2011-09-07 Thread billconan
Hello guys, I want to create a custom widget. Basically it is something like a toolBar, I want to draw a background first, and draw my tool buttons on top of the background. However, it doesn't work. What I did is I overrided the onDraw Function @Override protected void onDraw(Canvas canvas)