Monthly Archives: December 2014

How to change screen size resolution on Android Lollipop device

If you want to test your app on devices with different screen sizes you could buy a lots of devices or you simple change the resolution of your device. In my case it’s a Nexus 4.

comparison of two screen sizes of nexus 4

Two screenshot on a Nexus 4 left 576×960 – Right 768×1280 (Picture: Brussels comic strip)

The command for testing on different screen sizes is:

adb shell wm size 576×960

later you want to use

adb shell wm size reset