Browse Source

Document topMargin

Guy Carmeli 6 years ago
parent
commit
bca28166c0
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      docs/docs/styling.md

+ 3
- 0
docs/docs/styling.md View File

205
   statusBar: {
205
   statusBar: {
206
     backgroundColor: 'red'
206
     backgroundColor: 'red'
207
   },
207
   },
208
+  layout: {
209
+    topMargin: Navigation.constants().statusBarHeight // Set the layout's top margin
210
+  },
208
   topBar: {
211
   topBar: {
209
     height: 70, // TopBar height in dp
212
     height: 70, // TopBar height in dp
210
     borderColor: 'red',
213
     borderColor: 'red',