diff --git a/docs/ImprovingUserExperience.md b/docs/ImprovingUserExperience.md index 2892578832d2cf..a7b36ab731ba4c 100644 --- a/docs/ImprovingUserExperience.md +++ b/docs/ImprovingUserExperience.md @@ -19,6 +19,7 @@ Building apps for mobile platforms is nuanced, there are many little details tha - [Manage layout when keyboard is visible](#manage-layout-when-keyboard-is-visible) - [Make tappable areas larger](#make-tappable-areas-larger) - [Use Android Ripple](#use-android-ripple) +- [Screen orientation lock](#screen-orientation-lock) - [Learn More](#learn-more) ------------------------------------------------------------------------------- @@ -63,6 +64,10 @@ Android API 21+ uses the material design ripple to provide user with feedback wh [Try it on your phone](https://snack.expo.io/SJywqe3rZ) +## Screen orientation lock + +Unless supporting both, it is considered good practice to lock the screen orientation to either portrait or landscape. On iOS, in the General tab and Deployment Info section of Xcode enable the Device Orientation you want to support (ensure you have selected iPhone from the Devices menu when making the changes). For Android, open the AndroidManifest.xml file and within the activity element add android:screenOrientation=”portrait” to lock to portrait or android:screenOrientation=”landscape” to lock to landscape. + # Learn more [Material Design](https://material.io/) and [Human Interface Guidelines](https://developer.apple.com/ios/human-interface-guidelines/overview/design-principles/) are great resources for learning more about designing for mobile platforms.