you can change your android resolution or dpi.
Requirements: ADB Must installed on computer and Set the Environment variables. USB debugging enabled on Android/Phone.
Working: connect Android phone via usb cable. run the script select the desired option and enjoy.
Note: You need to perform task 2 times to see changes on phone.