1. https://appdevelopermagazine.com/android
  2. https://appdevelopermagazine.com/the-android-screen-notch-guide-for-developers/
8/6/2018 9:54:19 AM
The Android screen notch guide for developers
Android Screen Notch,Android Devices With Notch
/Google-Advice-For-Screen-Notch-App-Developer-Magazine_bu9i8u24.jpg
App Developer Magazine

Android

The Android screen notch guide for developers


Monday, August 6, 2018

Richard Harris Richard Harris

Android screen notch is here and Google offers some tips for developers on how to handle the new space using special mode, aspect ratios and more.

The screen notch on the iPhone X screen was unavoidable with the inclusion of the edge-to-edge OLED screen because the camera and sensors get in the way. So manufactures have to contour the screen around the sensors and camera area, which created the somewhat odd, but always funny “screen notch”.

Until now iOS developers were the only ones that had to deal with the extra area’s on the left and right side of the notch by either scaling the display space of your app upward, and carefully inserting app related buttons in those areas, or just blocking off the area at the bottom of the notch, and letting those area’s be occupied by the default phone signal and battery indicators.

For Android developers, the time for the battle of the notch is here. But coincidentally, Android actually got the display notch first with the introduction of the "Essential Phone PH-1". Other Android phone device manufactures now with notches on their Android displays include the Huawei P20 and P20 Pro, the OnePlus 6, LG's G7 ThinQ, Asus's ZenFone 5, Xiaomi's Mi 8, and the Vivo V9.

The sticky part for Android developers are display notches don't follow any specific pattern. Some are larger than others, some are taller, and some are downright weird. 

Google's Megan Potoski recently posted an article on the Android Developers Blog aimed at providing Android developers some tips and best practices for designing apps for devices with display cutouts.

Utilizing Special Mode for screen notch

Android apps also allow developers to extend their screens all the way to the top of the device to maximize the utility of the new screen to phone ratios. This is called "Special Mode" and can only be used with the user's permission. If Special Mode is not activated, then the user's screen will just appear as a regular non-cutout screen by chopping off the top of the screen to the extent which the cutout would exist.

Dealing with the cutout

When it comes to the handling the notch, you really have one of two options, either cut it out of the screen entirely by dropping all your content down or integrate it into your current UI by working right around it. And according to the Android blog post, many popular methods that developers would use to get things like status bar height or event press locations may no longer work for apps correctly and must be accessed in other ways in order to accommodate the new cutout design.

Test your app with multiple cutout sizes

An Android device has a fake notch overlay that can be found on the phone's developer settings in order to simulate what your app would look like with the various sized cutouts that exist for phones on the Android market. Be sure to use this for testing purposes in case you don't have the latest device.

Handling higher aspect ratios

Don't forget to tackle those higher aspect ratios as well! We've gone a long ways from the old 3:2 screen resolutions, and now with 18:9 coming out, it can be difficult trying to juggle both the cutout and the screen size. Android has guidelines on how you can support these screen sizes, so be sure to read them carefully. An additional option noted by the blog post is the ability to declare a maximum aspect ratio that your app will support, allowing you some wiggle room as a developer.

The Android screen notch guide for developers







Subscribe to App Developer Magazine

Become a subscriber of App Developer Magazine for just $5.99 a month and take advantage of all these perks.

MEMBERS GET ACCESS TO

  • - Exclusive content from leaders in the industry
  • - Q&A articles from industry leaders
  • - Tips and tricks from the most successful developers weekly
  • - Monthly issues, including all 90+ back-issues since 2012
  • - Event discounts and early-bird signups
  • - Gain insight from top achievers in the app store
  • - Learn what tools to use, what SDK's to use, and more

    Subscribe here



Stay Updated

Sign up for our newsletter for the headlines delivered to you

SuccessFull SignUp

Featured Stories


Spotlite Expands Into AI Era With New IP Protection Tool
Spotlite Expands Into AI Era With New IP Protection Tool Wednesday, June 3, 2026




Spotify and UMG strike landmark AI music licensing deal
Spotify and UMG strike landmark AI music licensing deal Thursday, May 28, 2026


Anthropic investigation opened after Mythos accessed by Discord group
Anthropic investigation opened after Mythos accessed by Discord group Wednesday, May 27, 2026


AI layoffS: What is really behind it all
AI layoffS: What is really behind it all Tuesday, May 26, 2026


The identity system is failing under AI
The identity system is failing under AI Monday, May 25, 2026


The Real World Launches Expert-Verified AI Certification Framework
The Real World Launches Expert-Verified AI Certification Framework Friday, May 22, 2026


Multiple language options when developing apps with Evoke
Multiple language options when developing apps with Evoke Thursday, May 21, 2026


When Social Listening Becomes Social Surveillance
When Social Listening Becomes Social Surveillance Wednesday, May 20, 2026


Medical debt relief custom-built platform moopFi launches
Medical debt relief custom-built platform moopFi launches Tuesday, May 19, 2026


Quant Pros Say AI Is Widening the Skills Gap
Quant Pros Say AI Is Widening the Skills Gap Monday, May 18, 2026


Get More App News



/sites/themes/prod/assets/js/less.js"> ' %>