| id |
options-layout |
| title |
Layout Options |
| sidebar_label |
Layout |
const options = {
layout: {},
};
| Type |
Required |
Platform |
| boolean |
No |
Both |
Set the screen background color.
| Type |
Required |
Platform |
| Color |
No |
Both |
Set background color only for components. On Android, using this option instead of backgroundColor helps reduce overdraw.
| Type |
Required |
Platform |
| Color |
No |
Both |
Set the allowed orientations.
| Type |
Required |
Platform |
| ['portrait', 'landscape'] |
No |
Both |
Set the layout top margin.
| Type |
Required |
Platform |
| number |
No |
Android |
Set language direction, only works with DefaultOptions. locale is an Android specific option which sets the direction according to the device locale.
| Type |
Required |
Platform |
| enum('rtl', 'ltr', 'locale') |
No |
Both |
Controls the application's preferred home indicator auto-hiding.
| Type |
Required |
Platform |
| boolean |
No |
iOS |