I solved the problem by decreasing the image resolution of Navigation Drawer header image. It was 1600*1200 and I changed the resolution to 400*300. After doing this, the drawer opens smoothly on affected phones.
It wasn't my coding fault but it might be a problem with customized ROMs how they handle the images with high resolution because the drawer was already opening smoothly on Stock Android.
manpreet
Best Answer
2 years ago
While working with my android app, I found out that navigation drawer hangs while opening as well as closing. It hangs for 2-3 seconds. On most devices, it's fine (mostly with Stock Android) but on some devices, it hangs (Mostly Samsung).
Home.java (activity in which drawer is implemented):