public void drawTop(View view, Canvas c) {
        int left = view.getLeft() - mWidth;
        int top = view.getTop() - mHeight;
        int right = view.getRight() + mWidth;
        int bottom = top + mHeight;
        mDivider.setBounds(left, top, right, bottom);
        mDivider.draw(c);
    }
public void drawTop ( View view , Canvas c ) { int left = view . getLeft ( ) - mWidth ; int top = view . getTop ( ) - mHeight ; int right = view . getRight ( ) + mWidth ; int bottom = top + mHeight ; mDivider . setBounds ( left , top , right , bottom ) ; mDivider . draw ( c ) ; }
Draw the divider on the top side of the Item.