|
@@ -2,12 +2,12 @@
|
2
|
2
|
|
3
|
3
|
TOC
|
4
|
4
|
* [Activity Lifecycle and onActivityResult](https://github.com/wix/react-native-navigation/wiki/Android#activity-lifecycle-and-onactivityresult)
|
5
|
|
-* [Adjusting soft input mode](https://github.com/wix/react-native-navigation/wiki/Android/_edit#adjusting-soft-input-mode)
|
6
|
|
-* [Splash screen](https://github.com/wix/react-native-navigation/wiki/Android/_edit#splash-screen)
|
7
|
|
-* [Collapsing React header](https://github.com/wix/react-native-navigation/wiki/Android/_edit#collapsing-react-header---android-only)
|
8
|
|
- * [Collapsing react view](https://github.com/wix/react-native-navigation/wiki/Android/_edit#collapsing-react-view)
|
|
5
|
+* [Adjusting soft input mode](https://github.com/wix/react-native-navigation/wiki/Android/#adjusting-soft-input-mode)
|
|
6
|
+* [Splash screen](https://github.com/wix/react-native-navigation/wiki/Android/#splash-screen)
|
|
7
|
+* [Collapsing React header](https://github.com/wix/react-native-navigation/wiki/Android/#collapsing-react-header---android-only)
|
|
8
|
+ * [Collapsing react view](https://github.com/wix/react-native-navigation/wiki/Android/#collapsing-react-view)
|
9
|
9
|
* [Collapsing react view with top tabs](https://github.com/wix/react-native-navigation/wiki/Android/_edit#collapsing-react-view-with-top-tabs)
|
10
|
|
-* [Reloading from terminal](https://github.com/wix/react-native-navigation/wiki/Android/_edit#reloading-from-terminal)
|
|
10
|
+* [Reloading from terminal](https://github.com/wix/react-native-navigation/wiki/Android/#reloading-from-terminal)
|
11
|
11
|
|
12
|
12
|
# Activity Lifecycle and onActivityResult
|
13
|
13
|
In order to listen to activity lifecycle callbacks, set `ActivityCallback` in `MainApplication.onCreate` as follows:
|
|
@@ -90,7 +90,10 @@ static navigatorStyle = {
|
90
|
90
|
navBarHideOnScroll: false,
|
91
|
91
|
navBarBackgroundColor: '#4dbce9', // This will be the TitleBars color when the react view is hidden and collapsed
|
92
|
92
|
collapsingToolBarComponent: 'example.header',
|
93
|
|
- navBarTranslucent: true // Optional, sets a translucent dark background to the TitleBar. Useful when displaying bright colored header to emphasize the title and buttons in the TitleBar
|
|
93
|
+ navBarTranslucent: true, // Optional, sets a translucent dark background to the TitleBar. Useful when displaying bright colored header to emphasize the title and buttons in the TitleBar
|
|
94
|
+ showTitleWhenExpended: false, // default: true. Show the screens title only when the toolbar is collapsed
|
|
95
|
+ collapsingToolBarCollapsedColor: 'green', // optional. The TitleBar (navBar) color in collapsed state
|
|
96
|
+ collapsingToolBarExpendedColor: 'red' // optional. The TitleBar (navBar) color in expended state
|
94
|
97
|
};
|
95
|
98
|
}
|
96
|
99
|
```
|