Called when something happens to the layout make sure to check if width and height are the same as the last time.
void onLayoutChange(int width, int height) {}