Showing posts with label Android P. Show all posts
Showing posts with label Android P. Show all posts

Tuesday 7 August 2018

Display Cutouts: Android P Supporting Edge-to-Edge Screens

Display Cutouts

Display Cutouts on Android P

Display cutouts, as we commonly know them as notches, were released a few days back with Android P. Android P was released a week or so back with all new features and APIs, besides that we also got to see the all new Google’s version of Apple’s notches- Display cutouts.

With display cutouts on Android P, developers can change the way the display cutouts appear on their apps- whether they want it to overlap with the displays or not and much more. To do so developers can run the Android Emulator on their phones and go to the developer settings to change the way display cutouts appear on their apps.

Using the Emulator to style your own Display Cutouts: 


Once on the emulator, developers can style their display cutouts in the style of their choosing. In the emulator, display cutouts appear at the top of the screen irrespective of the style you choose. These display cutouts do not overlap the status bar so app display information is saved.

But this may not always be the case as different manufacturers may position the display cutouts
differently and this may overlap with the status bar in some cases.

To choose the right display cutouts in an app there is a window layout attribute that allows you to design your app around the format of display cutouts chosen.

You can choose from among three modes of display cutouts for your app.

The different Display cutouts you can choose from: 


The first mode is called LAYOUT IN DISPLAY CUOUT MODE DEFAULT.

The default mode does not allow the display cutouts to extend into the app space. The window is arranged in such a way such that the display cutouts are at the top without extending past the status bar.

The next mode is LAYOUT IN DISPLAY CUTOUT MODE ALWAYS.

In this mode the window of the app overlaps with the display cutout which is present in both portrait as well as landscape mode.

It is up to the developer to see to it that no app information is covered by the display cutouts.

The third mode is LAYOUT IN DISPLAY CUTOUT MODE NEVER.

Here the window space is never allowed to go into the display cutouts area leaving a very small space for app developers to manoeuvre in.

Uniform display cutouts for all manufacturers: 


Google has also given app developers a choice in the status bar when it comes to using display cutouts. The status bar has to be of the size of the notch this will affect the size of the information displayed.

So Google has introduced “Special Mode” that shows a button on the navigation bar with an option to change from letterboxed view to full screen view with the content being wrapped around the notch.
One more guideline when it comes to display cutouts is that phone manufacturers can only support a limited number of display cutouts. Developers can only use a single tall display cutout or a dual display cutout or a corner cutout.

Friday 11 May 2018

Android P Beta Announced at Google I/O 2018

Android P Beta

Android P Beta gets unveiled at the Google I/O

Google has redefined the android experience with the launch of the Android P beta update at the Google I/O. This update is making its way to the Pixel devices at once along with a number of high profile smartphone from other manufacturers. Here are some of the cool new features which are debuting with the Android P Beta.

Adaptive is the new power

Adaptive battery feature is designed to offers more consistent battery experience on the Android devices. It makes use of the AI along with the machine learning which helps in understanding the user's usage patterns and prioritize the battery power consumption for the apps and services which are most required by the user. Android P will come loaded with a new Adaptive Brightness feature which is way ahead of the simple automatic brightness. Adaptive brightness effectively makes use of the machine learning to adapt with the lightening requirement in accordance with outer conditions. This is done automatically without the help of human input in a fast and reliable fashion.

Android P wants you to spend less time on the phone

Millennial are just always glued to their devices whether they want it or not. In order to help them get rid of this ugly habit, Android P comes with a new feature called dashboard. This feature will simply showcase the amount of time spent on different apps on the given device. Apart from that, it will also show how many times the phone was unlocked and how many notifications were received throughout. This is helpful both for the developer as they will get to know the user behaviour and take the right course of action to make their device more interactive while users can heed t the stats to use the phone lesser.

Keeping a tab on the user’s ‘Digital Wellbeing’

Google has given immense focus on the user's digital wellbeing and as a result, it has come up with a new feature called App timer. This feature will help users in setting up the time limits on the apps and users will be notified about it through graying of the app icon. As the smartphone has gone smarter with each passing year people had started to rely more on the handheld device more than needed and this had started affecting the wellbeing to a great extent.

Google has taken a note of it and brought some crafty feature embedded with the Android P to help the users without sounding adamant. One such cool feature is Wind Down as the name suggests it is designed for those users who tend to use a smartphone while lying on the bed for a longer period of time. This feature will require the user to set a bedtime upon which it will turn on the night mode, Don Not Disturb and even change the screen to grayscale.

Another feature worth talking about is the much needed Do Not Disturb. This not just silences the phone against the incoming calls & notifications but also suspends all the visual interruptions that can come up on the screen. These are just some of the notable features, tweaks and enhancements made by the Google in the upcoming Android P update.