Add onSizeChanged() to reset the LinearGradient

When TextView changed visibility from GONE to VISIBLE, should call resetLinearGradient() again.