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?

1
  • 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 at 8:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.