Procházet zdrojové kódy

Document sensorLandscape

Guy Carmeli před 6 roky
rodič
revize
6be2c94f44
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2
    1
      docs/docs/styling.md

+ 2
- 1
docs/docs/styling.md Zobrazit soubor

223
     visible: false
223
     visible: false
224
   },
224
   },
225
   layout: {
225
   layout: {
226
-    topMargin: Navigation.constants().statusBarHeight // Set the layout's top margin
226
+    topMargin: Navigation.constants().statusBarHeight, // Set the layout's top margin
227
+    orientation: ['portrait', 'landscape'] | ['sensorLandscape'] // An array of supported orientations
227
   },
228
   },
228
   topBar: {
229
   topBar: {
229
     height: 70, // TopBar height in dp
230
     height: 70, // TopBar height in dp