added onSizeChanged() in Button/TextView to make sure the LinearGradient will be reset

Hi, I added onSizeChanged() in both Button and TextView components to make sure the ineargradient property will be reset properly.

If the Button/TextView changed visibility from GONE to VISIBLE, should call resetLinearGradient() again.