[APP] [4.0.3/4.1+] Rotation | Orientation Manager [24.4.1] [08/04/2022]

Search This thread

Pranav Pandey

Recognized Developer
Apr 15, 2011
494
5,817
New Delhi
pranavpandey.com

With support for Android 12

Built with Material Design guidelines by Google​


Hello everyone,
This is my first attempt to build a complete app. I have included every feature that an app should have to provide a better user interface and support. I Hope, you all will like this app.

Thanks to XDA for featuring it on portal again.


attachment.php


Rotation is a tool to manage the device orientation. It offers all the modes that Android supports and can be configured according to the apps or various events like call, lock, headset, charging and dock. Let's give it a try to explore its other features.

Join Discord server
Like Facebook page

Dynamic Theme in Rotation 10
attachment.php

Features

A complete orientation manager with all the supported modes.
System default modes
• Auto-Rotate On • Auto-Rotate Off
Modes to override system settings
• Forced Auto-Rotate • Forced Portrait • Forced Landscape
• Reverse Portrait • Reverse Landscape
• Sensor Portrait • Sensor Landscape • Forced Full Sensor
Lock Current – Lock current orientation

Conditions with different events and apps support.
• Call orientation • Lock orientation • Headset orientation
• Charging orientation • Dock orientation • App orientation
Events priority - Customisable events preference in case of two or more events occur simultaneously.

Rotate on demand
# Change the orientation of the foreground app or events with ease from a fully customizable floating head (or notification or tile) available on the top of every task.

- Various settings to customize according to the need.
• Start on boot • Notification • Notification toggles
• Notification priority • Toast messages • Vibration and more.

Best ever theme engine with a color for every choice.
• All new dynamic theme engine with background aware functionality to avoid any visibility issue. More info here.

Others
• Quick setup to configure major features from a single screen.
• Detailed help with easy to understand explanations.
# Perform backup and restore operations to save and load the app settings.

- More features
# Rotation extension to automate over 40 actions via Locale / Tasker plugin.
• Rotation shortcuts to quickly switch the orientation from the home screen.
• App shortcuts (Android 7.1.1+) to perform various service operations without opening the app.
• Notification tile (Android 7.1.1+) to perform service and on-demand operations.
• Full customizable Service and Toggles widgets to perform various operations.
• Explore to find many more hidden gems of Rotation.

Features marked with # are paid and Rotation Key is required to use them.


Notice

- This app doesn't require root permission.
- Certain applications might not display properly when forced to work on portrait/landscape mode. Use Auto-Rotate on/off from Per App Settings to use system settings for those apps.

Changelog

24.4.1
- Initial support for hinge orientations.
- Initial support for Android 13 preview.
- Improved app orientation functionality.
- Added support to import theme from an image.
- Various internal and design improvements.

20.2.0
Introducing Accessibility support to provide a better experience and to force the lock screen orientation on Android 8.0+ devices.
Rotation > Conditions > Events > Accessibility.

- Added Russian translations.
- Added preview for the theme code.
- Stroke color support for the app widgets.
- Improved backup and restore functionality.
- Improved locale and font scale functionality.
- Various bug fixes and design improvements.

17.1.0
- Improved support for Android 11 Beta.
- Updated theme engine for better control.
- Added setting to toggle notification actions.
- Various bug fixes and design improvements.

13.0.2
- All new home screen for better visibility.
- Introducing theme presets via the Palettes app.
- Various bug fixes and design improvements.

12.4.0
- Improved widgets functionality.
- Various bug fixes and improvements.

Removed social links, please contact via email or website in case of any issues.

12.2.1

- Introducing URL support for sharing themes.
- Improved file support for themes and backup.
- Fixed font scale preference for app widgets.
- Improved orientation service functionality.
- Various bug fixes and design improvements.

12.1.0
- Introducing file support for themes.
- Improved support for gesture navigation.
- Added backup and theme file associations.
- Various bug fixes and design improvements.

All new start with better Android Q support!

12.0.0

- Improved themes functionality.
- Introducing the font scale to adjust text size.
- Various bug fixes and design improvements

11.8.0
- Updated target SDK to 29 (Android Q).
- Various bug fixes and design improvements.

11.7.2
- Fixed a crash in the restore process.
- Improved app widgets functionality.
- Gesture navigation support for Android Q.
- Disable navigation bar theme to use full screen.
- Various bug fixes and design improvements.

11.7.0
- Fixed a possible crash on the first launch.
- All new preview for app and widget themes.
- Swipe up or down to show or hide it respectively.
- Tap on the save or check icon to update the theme.

11.3.1
- Improved translations.
- Improved dynamic theme import.
- Introducing surface color for the dynamic theme.
- Set the same as the background color to disable the cards shadow.

11.0.0
- All new way to share themes with the preview image.
- Moved QS tile settings from notification to widget.
- Added new QS tile to toggle between two orientations.

10.8.2
- Bug fixes and improved animations.

10.8.0
- Improved in-app support.
- Dropping Google+ community support.
- Added Day and Night options for app theme.
- Please join Discord for the latest news and updates.

10.6.3
- Fixed crashes on some devices.
- Improved scrolling, hints and popups.
- Enabled auto backup for supported devices.

10.5.1
- Improved design and widgets.
- Added Italian (Italiano) translations.
- Added Indonesian (Indonesia) translations.

10.3.1
- Improved background service execution.
- Improved pause mode to exclude events or apps.
- Added theme support for more design elements.

10.1.0
- Major functionality improvements.
- Improved design to make it more user-friendly.
- Fixed crash while updating from the older version.

10.0.1
- All new app and widget theme engine.
- Support for background, theme, and text colors.
- Background aware to choose adjusted or true colors.
- Share or import themes as text across different devices.
- A fresh start with various improvements to make things even better.

Please configure the app and widget theme again after installing this update.

v9.5.1
- Introducing adaptive orientation.
- More info, Rotation > Home > On demand.
- Added rounded corners support for widgets.
- Improved app UI to support various screen sizes.

Adaptive orientation works well with the non-senor modes like Portrait, Landscape, Reverse Portrait or Reverse Landscape set as Global orientation. Tapping on the Floating head will only set the current orientation, enable Lock orientation via Rotation > Home > Orientation to make it permanent.

v9.2.1
- Added support for Android P.
- Improved on-demand floating head.
- Fixed floating head peek functionality.
- Improved app orientation functionality.
- Various bug fixes and improvements.

v8.9.2
- Improved current (temporary) orientation.
- Fixed classic notification style issue on some devices.
- Added Spanish (Español) translations, thanks to Dave.
- Added Turkish (Türkçe) translations, thanks to Fatih Fırıncı.

v8.9.0
- Updated floating head to support current orientation.
- It will change the orientation temporarily like notification toggles.
- Tap to select the current orientation.
- Double-tap to select the event or global orientation.

v8.6.3
- Support for Android P developer preview.
- Bug fixes and improvements.

v8.6.1
- Improved floating head and notification toggles.
- Enabled launcher (home screen) in the apps list.
- UI improvement and bug fixes.

v8.3.0
- Improved system orientation listener. Now, it works for all the events (observer to switch between Auto-rotate on and off via system toggle).
- All new orientation picker. Long press to show mode name.
- Various bug fixes and improvements.

v8.1.3
- Added German (de) translations.
- Added Simplified Chinese (zh-rCN) translations.
- All new language selector:
Rotation > Settings > App > Language.

v8.1.0 #RotationReboot
A complete reboot to make things stable and even better!
- 10 orientation modes with Sensor Portrait.
- Conditions with various events and app orientation.
- Theme engine with unlimited colors and day/night themes.
- Notification and widgets with custom theme support.
- Tasker/Locale plugin to support over 40 actions.
- App shortcuts, QS tile, etc.

- Please configure app, widgets and takser plugin again.
- Not translated in other languages, it will be available soon.

Support Development

Please support me so that I can develop more free apps in the future.
- Download Rotation from Google Play and rate so that more people can reach it.
- Buy Rotation Key from Google Play to appreciate my work.
- Translate it in your language so that more people can use it properly.

Translate

You can translate by visiting the dedicated portal or ask me for the string files.

 

Attachments

  • rotation-v6.1.3.apk
    1.9 MB · Views: 1,049
  • home-promo.jpg
    home-promo.jpg
    142.5 KB · Views: 760
  • demand-ptomo.jpg
    demand-ptomo.jpg
    139.6 KB · Views: 673
  • conditions-promo.jpg
    conditions-promo.jpg
    135.6 KB · Views: 661
  • settings-promo.jpg
    settings-promo.jpg
    125.9 KB · Views: 614
  • notification-promo.jpg
    notification-promo.jpg
    127.8 KB · Views: 595
  • widgets-promo.jpg
    widgets-promo.jpg
    117.3 KB · Views: 571
  • shortcuts-promo.jpg
    shortcuts-promo.jpg
    148.7 KB · Views: 554
  • data-promo.jpg
    data-promo.jpg
    115.2 KB · Views: 539
  • feature.png
    feature.png
    45.2 KB · Views: 4,728
  • screenshots.png
    screenshots.png
    65.6 KB · Views: 4,733
  • dynamic-theme.png
    dynamic-theme.png
    112.6 KB · Views: 4,746
  • rotation-v20.2.0.apk
    3.8 MB · Views: 432
Last edited:

Pranav Pandey

Recognized Developer
Apr 15, 2011
494
5,817
New Delhi
pranavpandey.com
Why no support for Nexus 4 on Play Store?

Its showing in my Developer Console. May be due to your Custom ROM !!!

Thanks to XDA for featuring it on portal.

Rotation v1.2
* Memory optimization
* Updated UI and Theme engine
* Themed notifications and toast messages
* Bug fixes and improvements

COMING SOON:- Xperia™ Small App Support

* Updated strings for translation
Download it from first post !!!
 
Last edited:

gr8hairy1

Senior Member
Nov 8, 2010
928
167
Michigan - Thumb
Differences

Love the app. Literally have been waiting for something like this (stupid non rotate instagram). Superbly designed app. Love the look and the layout. Works great and haven't had any issues.

I was wondering if you could clarify the differences of a couple of the choices. Between the two options Forced Auto Rotate and Forced Full Sensor and the two options Forced Landscape and Sensor Landscape (though I'm guessing understanding the first pair will explain the second). Not only the difference but maybe when you would choose one over the other. I didn't fully understand the description in the help section. Thanks.
 
  • Like
Reactions: Pranav Pandey

Pranav Pandey

Recognized Developer
Apr 15, 2011
494
5,817
New Delhi
pranavpandey.com
Love the app. Literally have been waiting for something like this (stupid non rotate instagram). Superbly designed app. Love the look and the layout. Works great and haven't had any issues.

I was wondering if you could clarify the differences of a couple of the choices. Between the two options Forced Auto Rotate and Forced Full Sensor and the two options Forced Landscape and Sensor Landscape (though I'm guessing understanding the first pair will explain the second). Not only the difference but maybe when you would choose one over the other. I didn't fully understand the description in the help section. Thanks.

Thanks for your review !!!

Forced Auto-Rotate:- Enable System Auto-Rotate settings in Non-rotating apps (like Instagram). Auto-rotating apps will have no effect.
Forced Full Sensor:- Enable 4 side rotation in all apps. Most of the apps rotates only in 3 sides, it will enable all 4 side rotation including Non-rotating apps.

Forced Landscape:- Force app to remain in landscape mode. It will remain only in one landscape orientation.
Sensor Landscape:- Sensor will work only in landscape orientation. Both landscape orientation works. For example, while watching videos if you flip device in landscape mode then, orientation will change.

Try it yourself to know more about its working :) !!!
 
Last edited:

TeddyBeers

Senior Member
Apr 12, 2011
239
63
Its showing in my Developer Console. May be due to your Custom ROM !!!



Rotation v1.2
* Memory optimization
* Updated UI and Theme engine
* Themed notifications and toast messages
* Bug fixes and improvements

COMING SOON:- Xperia™ Small App Support

* Updated strings for translation
Download it from first post !!!

Same here
Can't install from play store on nexus 4

Rom - latest slimkat
 

w0rinal

Senior Member
May 9, 2014
329
88
Bamberg
cool app, much more convenient than the xposed module app settings :good:

i've translated it into german

btw one line in original strings.xml seems wrong
<string name="restart_desc">Is app is not behaving properly? Tap to restart app and service (if running)</string>
 

Attachments

  • Rotation_v1.2_strings.de.zip
    7.6 KB · Views: 29
Last edited:
  • Like
Reactions: Pranav Pandey

huttli

New member
Nov 27, 2013
3
3
Updated with a UTF-8 version.
Simplified Chinese translation updated.
 

Attachments

  • Rotation_v1.2_strings_zh_CN_utf8.zip
    7.3 KB · Views: 28
Last edited:
  • Like
Reactions: Pranav Pandey

posceve

Senior Member
Jul 22, 2008
188
10
47
Bug Report

Great app, the best one Annoying issue with app that use rotation sensor "in app" like Whatsapp. Lock the rotation in Portrait mode, but doing a photo (in landscape from inside the app) then you can not use the sensor to send in the correct orientation.Please fix it. Thank you :victory::good:
 

AdamT6

Member
May 18, 2014
43
11
I gave you a thanks for the effort and the reset ability and the price. With that said the settings and features seem complex to me for the functionality in question. This is further exacerbated by the color scheme which I find hard to read on my Note 3 at 320 dpi. Thanks again though! :)
 

Pranav Pandey

Recognized Developer
Apr 15, 2011
494
5,817
New Delhi
pranavpandey.com
Rotation v2.0 [Coming Soon]

I gave you a thanks for the effort and the reset ability and the price. With that said the settings and features seem complex to me for the functionality in question. This is further exacerbated by the color scheme which I find hard to read on my Note 3 at 320 dpi. Thanks again though! :)

Thank you for your review. New update is coming with lots of bug fixes, improvements and new features. Hope, you all will like this.


2vuzf6f.png

Rotation v2.0
Coming soon

Rotation Automate
Tasker / Locale plugin support to automate over 20 actions

Rotation Shortcuts
Add fully customisable shortcuts to your home screen to change orientation in one click

More Settings
Set Charging, Headset and Dock orientation

Material UI
Updated UI with all new theme engine which implements most of the Material Design Guidelines

Best in its class
Trying hard with lots of bug fixes and improvements to make it best in its class


Support
To make it best

Please support to make it best in its class. It will appreciate me to develop more apps in the future. If you want to translate in your language, download the attached strings, v2.0 strings are marked. If you have already translated then, just add new strings in it.

To all translators

@pavik62, @w0rinal, @huttli thanks for your translations. Please translate new strings so that I can include it in the v2.0.


Notice
For Xperia™ Small App

After adding most of the features, I don't think there is a need of small app. If you people still want it, just post here, I will include it in future updates :).


!!! :) It will be completely free for XDA Users from v2.0 :) !!!
!!! :good: Please Support :good: !!!
 

Attachments

  • Rotation_v2.0_Strings.zip
    39.4 KB · Views: 27
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 50

    With support for Android 12

    Built with Material Design guidelines by Google​


    Hello everyone,
    This is my first attempt to build a complete app. I have included every feature that an app should have to provide a better user interface and support. I Hope, you all will like this app.

    Thanks to XDA for featuring it on portal again.


    attachment.php


    Rotation is a tool to manage the device orientation. It offers all the modes that Android supports and can be configured according to the apps or various events like call, lock, headset, charging and dock. Let's give it a try to explore its other features.

    Join Discord server
    Like Facebook page

    Dynamic Theme in Rotation 10
    attachment.php

    Features

    A complete orientation manager with all the supported modes.
    System default modes
    • Auto-Rotate On • Auto-Rotate Off
    Modes to override system settings
    • Forced Auto-Rotate • Forced Portrait • Forced Landscape
    • Reverse Portrait • Reverse Landscape
    • Sensor Portrait • Sensor Landscape • Forced Full Sensor
    Lock Current – Lock current orientation

    Conditions with different events and apps support.
    • Call orientation • Lock orientation • Headset orientation
    • Charging orientation • Dock orientation • App orientation
    Events priority - Customisable events preference in case of two or more events occur simultaneously.

    Rotate on demand
    # Change the orientation of the foreground app or events with ease from a fully customizable floating head (or notification or tile) available on the top of every task.

    - Various settings to customize according to the need.
    • Start on boot • Notification • Notification toggles
    • Notification priority • Toast messages • Vibration and more.

    Best ever theme engine with a color for every choice.
    • All new dynamic theme engine with background aware functionality to avoid any visibility issue. More info here.

    Others
    • Quick setup to configure major features from a single screen.
    • Detailed help with easy to understand explanations.
    # Perform backup and restore operations to save and load the app settings.

    - More features
    # Rotation extension to automate over 40 actions via Locale / Tasker plugin.
    • Rotation shortcuts to quickly switch the orientation from the home screen.
    • App shortcuts (Android 7.1.1+) to perform various service operations without opening the app.
    • Notification tile (Android 7.1.1+) to perform service and on-demand operations.
    • Full customizable Service and Toggles widgets to perform various operations.
    • Explore to find many more hidden gems of Rotation.

    Features marked with # are paid and Rotation Key is required to use them.


    Notice

    - This app doesn't require root permission.
    - Certain applications might not display properly when forced to work on portrait/landscape mode. Use Auto-Rotate on/off from Per App Settings to use system settings for those apps.

    Changelog

    24.4.1
    - Initial support for hinge orientations.
    - Initial support for Android 13 preview.
    - Improved app orientation functionality.
    - Added support to import theme from an image.
    - Various internal and design improvements.

    20.2.0
    Introducing Accessibility support to provide a better experience and to force the lock screen orientation on Android 8.0+ devices.
    Rotation > Conditions > Events > Accessibility.

    - Added Russian translations.
    - Added preview for the theme code.
    - Stroke color support for the app widgets.
    - Improved backup and restore functionality.
    - Improved locale and font scale functionality.
    - Various bug fixes and design improvements.

    17.1.0
    - Improved support for Android 11 Beta.
    - Updated theme engine for better control.
    - Added setting to toggle notification actions.
    - Various bug fixes and design improvements.

    13.0.2
    - All new home screen for better visibility.
    - Introducing theme presets via the Palettes app.
    - Various bug fixes and design improvements.

    12.4.0
    - Improved widgets functionality.
    - Various bug fixes and improvements.

    Removed social links, please contact via email or website in case of any issues.

    12.2.1

    - Introducing URL support for sharing themes.
    - Improved file support for themes and backup.
    - Fixed font scale preference for app widgets.
    - Improved orientation service functionality.
    - Various bug fixes and design improvements.

    12.1.0
    - Introducing file support for themes.
    - Improved support for gesture navigation.
    - Added backup and theme file associations.
    - Various bug fixes and design improvements.

    All new start with better Android Q support!

    12.0.0

    - Improved themes functionality.
    - Introducing the font scale to adjust text size.
    - Various bug fixes and design improvements

    11.8.0
    - Updated target SDK to 29 (Android Q).
    - Various bug fixes and design improvements.

    11.7.2
    - Fixed a crash in the restore process.
    - Improved app widgets functionality.
    - Gesture navigation support for Android Q.
    - Disable navigation bar theme to use full screen.
    - Various bug fixes and design improvements.

    11.7.0
    - Fixed a possible crash on the first launch.
    - All new preview for app and widget themes.
    - Swipe up or down to show or hide it respectively.
    - Tap on the save or check icon to update the theme.

    11.3.1
    - Improved translations.
    - Improved dynamic theme import.
    - Introducing surface color for the dynamic theme.
    - Set the same as the background color to disable the cards shadow.

    11.0.0
    - All new way to share themes with the preview image.
    - Moved QS tile settings from notification to widget.
    - Added new QS tile to toggle between two orientations.

    10.8.2
    - Bug fixes and improved animations.

    10.8.0
    - Improved in-app support.
    - Dropping Google+ community support.
    - Added Day and Night options for app theme.
    - Please join Discord for the latest news and updates.

    10.6.3
    - Fixed crashes on some devices.
    - Improved scrolling, hints and popups.
    - Enabled auto backup for supported devices.

    10.5.1
    - Improved design and widgets.
    - Added Italian (Italiano) translations.
    - Added Indonesian (Indonesia) translations.

    10.3.1
    - Improved background service execution.
    - Improved pause mode to exclude events or apps.
    - Added theme support for more design elements.

    10.1.0
    - Major functionality improvements.
    - Improved design to make it more user-friendly.
    - Fixed crash while updating from the older version.

    10.0.1
    - All new app and widget theme engine.
    - Support for background, theme, and text colors.
    - Background aware to choose adjusted or true colors.
    - Share or import themes as text across different devices.
    - A fresh start with various improvements to make things even better.

    Please configure the app and widget theme again after installing this update.

    v9.5.1
    - Introducing adaptive orientation.
    - More info, Rotation > Home > On demand.
    - Added rounded corners support for widgets.
    - Improved app UI to support various screen sizes.

    Adaptive orientation works well with the non-senor modes like Portrait, Landscape, Reverse Portrait or Reverse Landscape set as Global orientation. Tapping on the Floating head will only set the current orientation, enable Lock orientation via Rotation > Home > Orientation to make it permanent.

    v9.2.1
    - Added support for Android P.
    - Improved on-demand floating head.
    - Fixed floating head peek functionality.
    - Improved app orientation functionality.
    - Various bug fixes and improvements.

    v8.9.2
    - Improved current (temporary) orientation.
    - Fixed classic notification style issue on some devices.
    - Added Spanish (Español) translations, thanks to Dave.
    - Added Turkish (Türkçe) translations, thanks to Fatih Fırıncı.

    v8.9.0
    - Updated floating head to support current orientation.
    - It will change the orientation temporarily like notification toggles.
    - Tap to select the current orientation.
    - Double-tap to select the event or global orientation.

    v8.6.3
    - Support for Android P developer preview.
    - Bug fixes and improvements.

    v8.6.1
    - Improved floating head and notification toggles.
    - Enabled launcher (home screen) in the apps list.
    - UI improvement and bug fixes.

    v8.3.0
    - Improved system orientation listener. Now, it works for all the events (observer to switch between Auto-rotate on and off via system toggle).
    - All new orientation picker. Long press to show mode name.
    - Various bug fixes and improvements.

    v8.1.3
    - Added German (de) translations.
    - Added Simplified Chinese (zh-rCN) translations.
    - All new language selector:
    Rotation > Settings > App > Language.

    v8.1.0 #RotationReboot
    A complete reboot to make things stable and even better!
    - 10 orientation modes with Sensor Portrait.
    - Conditions with various events and app orientation.
    - Theme engine with unlimited colors and day/night themes.
    - Notification and widgets with custom theme support.
    - Tasker/Locale plugin to support over 40 actions.
    - App shortcuts, QS tile, etc.

    - Please configure app, widgets and takser plugin again.
    - Not translated in other languages, it will be available soon.

    Support Development

    Please support me so that I can develop more free apps in the future.
    - Download Rotation from Google Play and rate so that more people can reach it.
    - Buy Rotation Key from Google Play to appreciate my work.
    - Translate it in your language so that more people can use it properly.

    Translate

    You can translate by visiting the dedicated portal or ask me for the string files.

    4

    Thanks for the suggestion. I will add Small app support in the upcoming update with lots of improvements !!!
    3
    3
    v8.0.1 #RotationReboot

    All new start !!!
    Download apk from first post or Google Play.

    v8.0.1 #RotationReboot
    A complete reboot to make things stable and even better!
    * 10 orientation modes with Sensor Portrait.
    * Conditions with various events and app orientation.
    * Theme engine with unlimited colors and day/night themes.
    * Notification and widgets with custom theme support.
    * Tasker/Locale plugin to support over 40 actions.
    * App shortcuts, QS tile, etc.
    - Please configure app, widgets and takser plugin again.
    - Not translated in other languages, it will be available soon.

    Hope, you will like it,
    Pranav Pandey
    2
    Love the app. Literally have been waiting for something like this (stupid non rotate instagram). Superbly designed app. Love the look and the layout. Works great and haven't had any issues.

    I was wondering if you could clarify the differences of a couple of the choices. Between the two options Forced Auto Rotate and Forced Full Sensor and the two options Forced Landscape and Sensor Landscape (though I'm guessing understanding the first pair will explain the second). Not only the difference but maybe when you would choose one over the other. I didn't fully understand the description in the help section. Thanks.

    Thanks for your review !!!

    Forced Auto-Rotate:- Enable System Auto-Rotate settings in Non-rotating apps (like Instagram). Auto-rotating apps will have no effect.
    Forced Full Sensor:- Enable 4 side rotation in all apps. Most of the apps rotates only in 3 sides, it will enable all 4 side rotation including Non-rotating apps.

    Forced Landscape:- Force app to remain in landscape mode. It will remain only in one landscape orientation.
    Sensor Landscape:- Sensor will work only in landscape orientation. Both landscape orientation works. For example, while watching videos if you flip device in landscape mode then, orientation will change.

    Try it yourself to know more about its working :) !!!