Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/ImprovingUserExperience.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

-------------------------------------------------------------------------------
Expand Down Expand Up @@ -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.