- A screenshot with the correct aspect ratio
- A device frame PNG with a transparent area where the screenshot will be placed See Facebook's Device Art
- GraphicsMagick / ImageMagick
- That's it.
- Modify variables in the shell script accordingly
- Run it
- Create a new AVD with no skin, with screen dimensions 1440x2960, using API 28
- Boot the AVD and go to Developer Options
- Settings -> System -> About Emulated Device -> Tap on 'Build Number' until Developer Options is enabled.
- Settings -> [Search icon]
- Search for 'cutout'
- Choose 'Simulate a display with a cutout'
- Set it to a Tall display cutout
Sample Files:
Screenshot, frame and output
These are full-size images you can use to test the
sample.sh
script. Just right-click and save.