Recalibrate the screen if you feel that the screen orientation does not respond properly to the way you hold
HTC One X.
Go to Settings, and then tap
Display, gestures & buttons (or Display & buttons).
HTC One X on a flat and level surface, and then tap
After the recalibration process, tap