This is a different question. Each time an orientation change occurs the activity is recreated. You can check the orientation in Activity_Create with Activity.Height / Width or with GetDeviceLayout.But how to detect a orientation change and act on it