Connect with us

How To

How to enable Nougat’s Freeform Window Mode on any Android Nougat device

Published

on

Android Nougat 7.0 Update featured one of the most anticipated features of all time, the multi-window mode. This feature was already available in most of the other third party custom skins like Samsung and LG, etc. However, when you talk about stock Android users, this was the first taste of this experience. While it is always good to have this feature, there is something else that Android Nougat update brought to the table. Yes, there is a third multi-window mode present in Android which most people are not aware of, and it is called the Freeform multi-window mode.

The Freeform multi-window mode allows Android to present the apps as a floating window. This means, if you an app running and you quickly want another supporting app like calculator, etc. then this feature can be used and apps can be made to float on existing apps. And since it is a floating window, users will also have the ability to move and resize them as per their wish.

In the SDK documentation, it is stated that ‘any user with a device of a large form factor can enable this mode called Freeform window which will enable the ability to resize and make them float.’ It is also stated that this mode will be available in addition to the split-screen mode. However, this doesn’t mean that you need to have a device with a large form factor to enable this feature. Any device running Android 7.0 nougat and developer options enabled can use this feature. And if you wish you enable this feature on your device, then we suggest you follow the procedure given below –

There are two methods to achieve this, and both of them are listed below. Depending upon the pre-requisites, you can use either of them to make sure that your device gets the freeform feature.

Method 1

This method requires a computer with adb, i.e., Android Debug Bridge and hence if you don’t have one then, we suggest you follow the second method.

  1. Before starting anything, first make sure that USB Debugging is enabled. You can check for this by going to the developer settings on your device.
  2. Once it is out of the way, the next step is to connect your device to a computer with adb installed.
  3. Then execute the following command –
    adb shell settings put global enable_freeform_support 1

Method 2

This method requires no extra requirements and simply your device can be used to enable the feature.

  1. All you have to do is go to developer options and enable the “Force activities to be resizable” option that can be found at the bottom.

Do make a note that both the methods require your device to be rebooted so that the feature gets enabled.

Now once if you have enabled the Freeform mode using the first method, then you will see a new button on app entries. This can b used to launch an app into freeform window mode. However, if you used the method 2 to achieve this mode, then it is not possible to launch an app into the freeform mode by Android itself. In this case, the key to launching an app in the freeform mode is to call the ActivityOptions.setLaunchBounds() method. You have to use startActivity(Intent, Bundle) to start the app. If you don’t have an ActivityOptions bundle, you can create one with ActivityOptions.makeBasic().

Before starting to use this feature, you need to make sure that there are no apps in the recent app menu. If it is there, then the app you called for will simply go back to the full-screen menu mode and this feature won’t work properly. Hence you need to make sure that you clear any and all tasks from the overview menu.

Few things to keep in mind –

  • Apps in freeform mode run in a stack which is separate from the rest of the system. Hence it is not possible for freeform apps to run on top of the launcher or on top of another full-screen app.
  • Also, any application that is designed to behave well in Android’s standard split-screen window mode, will work flawlessly on freeform mode as well.

The below mentioned publicly-available classes and methods that any app can use to relate specifically to freeform mode –

  • Window.setDecorCaptionShade(): the shade of the caption controls can be overridden using this method.
  • Window.setRestrictedCaptionAreaListener(): this method detects the movement of the windows around in the freeform mode.
  • ActivityInfo.WindowLayout: you can this method and set layout parameters so that once the app is launched in freeform, it will launch with these specified boundaries.

You can also download some third-party apps and use it in freeform mode. This will allow you to get a PC-like experience, however, it is suggested that you try it with a device of larger form factor to get the full experience. You can check the source link below to know more about the app and how you can use it to get a PC-like experience.

Continue Reading
Comments

Recommended Video

Connect on Facebook

Top 5

Top 53 months ago

Top Features of the Vivo V7 Plus Smartphone

Vivo has finally unveiled the all-new selfie-centric smartphone dubbed Vivo V7 Plus in India. Though it is the successor to V5...

Top 55 months ago

Top 5 Best Performing Smartphones Under Rs 30,000 You Can Buy in August 2017

2017 has been an amazing year for smartphones. We have seen some really great smartphones launching this year so far...

Top 57 months ago

Top 5 Features of the Panasonic Eluga Ray Smartphone

Panasonic launched the new Eluga Ray smartphone here in India a couple of weeks back. This is yet another offering...

Top 51 year ago

Top 3 Smartphones from UMi you should take a look at

UMi is a Chinese smartphone manufacturing company that has launched a couple of smartphones previously. The smartphone manufactured by the...

Top 51 year ago

Fix Top 5 Pokemon Go Problems like Server Issues, GPS error, Battery Drain

Pokémon Go by Niantic began rolling out to players across the globe, and like all any other new game release,...

Top 51 year ago

Top 5 Features of Samsung Galaxy On5 Pro & On7 Pro Smartphones

The South Korean smartphone manufacturer Samsung, has been doing pretty good job with the budget smartphone lineup. They have introduced...

iPhone 6s - 1750mAh Battery iPhone 6s - 1750mAh Battery
Top 51 year ago

5 Tips to Make your Smartphone Battery Last till the End of the Day

Smartphones are the most useful piece of gadget that we own, which helps us get our jobs done easily. We...

Samsung Galaxy S6 Edge Plus - Top Features Samsung Galaxy S6 Edge Plus - Top Features
Top 52 years ago

5 Most Important Features of Samsung Galaxy S6 Edge+

Samsung fans must be in awe this year, as they’ve got to see two new flagship devices within the span...

Top 5 Missing Features on Samsung Galaxy Note 5 Top 5 Missing Features on Samsung Galaxy Note 5
Top 52 years ago

Top 5 Missing Features on Samsung Galaxy Note 5

Samsung has launched the much-anticipated smartphone ‘Galaxy Note 5‘ with not much improvements over specifications, but you can find the...

Samsung Glaxat Note 5 Featured image Samsung Glaxat Note 5 Featured image
Top 52 years ago

Top 5 – Most Important features of Samsung Galaxy Note 5

Samsung Galaxy Note 5, the biggest announcement by Samsung Mobiles in New York. The features of the device are pretty...


Trending