Commit 6e31127b authored by Jack Hsu's avatar Jack Hsu

updates README.md

parent 6156dc25
...@@ -6,6 +6,14 @@ This module allows you to access additional display metrics on Android devices. ...@@ -6,6 +6,14 @@ This module allows you to access additional display metrics on Android devices.
- Soft menu height - Soft menu height
- Status bar height - Status bar height
### Why?
There is currently a bug in React Native where [`Dimensions.get('window').height` sometimes returns
the wrong value](https://github.com/facebook/react-native/issues/4934).
Also, some apps may want to set the background of status bar and soft menu bar to transparent, thus the top-level
view needs to fill up the real screen size.
### Installation ### Installation
1. In `android/setting.gradle` 1. In `android/setting.gradle`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment