Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
react-native-extra-dimensions-android
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
放牛的园子
react-native-extra-dimensions-android
Commits
6e31127b
Commit
6e31127b
authored
Dec 23, 2015
by
Jack Hsu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates README.md
parent
6156dc25
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
README.md
README.md
+8
-0
No files found.
README.md
View file @
6e31127b
...
...
@@ -6,6 +6,14 @@ This module allows you to access additional display metrics on Android devices.
-
Soft menu 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
1.
In
`android/setting.gradle`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment