private void DrawViewsAtList(){
  for (int i=0; i < listViews.size(); ++i) {
    DetailView dvView=listViews.get(i);
    View vChild=getChildAt(i);
    int iL=dvView.getPoint().x * mUnitWidth;
    int iT=dvView.getPoint().y * mUnitHeight;
    int iR=iL + dvView.getWidthNum() * mUnitWidth;
    int iB=iT + dvView.getHeightNum() * mUnitHeight;
    vChild.setLeft(iL + mViewPadding);
    vChild.setTop(iT + mViewPadding);
    vChild.setRight(iR - mViewPadding);
    vChild.setBottom(iB - mViewPadding);
  }
}

private void DrawViewsAtList ( ) { for ( int i = 0 ; i < listViews . size ( ) ; ++ i ) { DetailView dvView = listViews . get ( i ) ; View vChild = getChildAt ( i ) ; int iL = dvView . getPoint ( ) . x * mUnitWidth ; int iT = dvView . getPoint ( ) . y * mUnitHeight ; int iR = iL + dvView . getWidthNum ( ) * mUnitWidth ; int iB = iT + dvView . getHeightNum ( ) * mUnitHeight ; vChild . setLeft ( iL + mViewPadding ) ; vChild . setTop ( iT + mViewPadding ) ; vChild . setRight ( iR - mViewPadding ) ; vChild . setBottom ( iB - mViewPadding ) ; } }
draw child views according to detailview ' s position in listviews
