Use onPreDrawListener instead.