onDraw, onmeasure does not gets called
<p>I have a LinearLayout which has  a gridview:</p>

<pre><code>public class ParentClass implements OnClickListener , OnFocusChangeListener
{

//instance variables.
//constructors.
//initialization method:

public initMethod()
 {
  //initializes gridview , set adapters, listeners etc.
  //+ code for adding gridview to linear layout etc.
 }
//other methods
...
}
class Grid extends ViewGroup{

        private GridView _gridView = null;      
        Grid()
        {
        super(MyActivity);
        //code for grid-view initialization goes here
        }

        public void setAdapter(GridViewAdapter gridViewAdapter) {
            // TODO Auto-generated method stub
            _gridView.setAdapter(gridViewAdapter);

        }

        @Override
         protected void onDraw(android.graphics.Canvas canvas) {
             super.onDraw(canvas);


         }
        @Override
        protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
        {
            super.onMeasure(widthMeasureSpec, heightMeasureSpec);

        }

        @Override
        protected void onLayout(boolean changed, int l, int t, int r, int b) {
            // TODO Auto-generated method stub
            int i = 0;
        }
    }
}
</code></pre>

<p>Now i expect that when i put a breakpint in overridden methods of my Grid class, it should hit! Why Breakpoint does not get hit?  Am i missing something fundamental here?</p>
