private void setTextSize(float size) {
        if(size != textPaint.getTextSize()) {
            textPaint.setTextSize(size);

            requestLayout();
            invalidate();
        }
    }
private void setTextSize(float size) {
        if(size != textPaint.getTextSize()) {
            textPaint.setTextSize(size);

            requestLayout();
            invalidate();
        }
    }
private void setTextSize ( float size ) { if ( size != textPaint . getTextSize ( ) ) { textPaint . setTextSize ( size ) ; requestLayout ( ) ; invalidate ( ) ; } }
Sets text size for items
@param size New item text size in px.
Sets text size for items