1

The new 'Simulate display with cutout' feature is very useful for android development for making sure an app will work on all devices, however there are some types of cutouts I would like to try for which I am not given the option.

Does anyone know how to add new cutout presets for this feature?

Robert
  • 20,025
  • 6
  • 47
  • 66
D44IN
  • 11
  • 2
  • There is a class named android.view.DisplayCutout that is used to define the cutout areas. Unfortunately it seems like the only way to add a new cutout is to change it in the AOSP sources, hence you have to compile your own ROM. – Robert Jan 11 '21 at 08:38

0 Answers0