If your Android device screen stops rotating when you change the orientation of your device, you may have accidentally adjusted the auto-rotate setting, which is pretty easy to do on many device models through a single mistaken tap. Luckily, it's just as easy to fix. If these tips don't work for you, however, you may have a hardware issue. If so, take your phone to an authorized retailer or contact the manufacturer.
Adjust via Quick Settings
First, verify your settings. You can do this via the Quick Settings menu or the regular Settings menu.
Video of the Day
Swipe down from the top of your screen. Access your phone's Quick Settings menu. Then, if auto rotate is not highlighted, tap to highlight and enable it.
Adjust via Settings
Enter Settings. Find and tap Accessibility.
Tap the check box next to Auto rotate screen to enable auto rotation.
Calibrate your G-Sensor
If your settings are in place and auto-rotate still isn't working, re-calibrate your G-Sensor. This is the sensor that detects the screen orientation.
Enter your device's Settings. Tap Display. Then, tap G-Sensor calibration and follow the instructions.