Change HeaderView size when onConfigurationChanged is called

When I rotate the screen of my device the size of HeaderView doesn't change. With this update it does.