Added ability to specify font size for tab bar labels on Android (#2754)
* Added bottomTabFontSize and bottomTabSelectedFontSize properties for android tab bar
* Added tabFontSize and selectedTabFontSize properties to the doc
* Fix default values of bottomTabFontSize and bottomTabSelectedFontSize properties.
[Android] Add ability to start app with deep stack (#2761)
For example, the following code will start a single screen app with two
screens pushed into the stack.
```js
Navigation.startSingleScreenApp({
components: [
{
screen: 'example.Types',
title: 'Navigation Types',
overrideBackPress: true
},
{
screen: 'example.Types.CustomButtonScreen',
title: 'Custom Buttons'
}
]
});
```
[iOS] Allow set view controllers to be called with multiple components (#2247)
* Refactor resetTo view controller creation into function
This will allow for multiple view controllers to call the same function to create their instance.
* Configure resetTo to take multiple components to set view controllers for
This allows for a navigation stack to be recreated with multiple view controllers rather than just one.
* Breakup view controller initializer into multiple lines for legibility
* added the ability to change the backing controller's preferredContentSize through props.
* added some documentation outlining preferredContentSize and modalPresentationStyle properties
* setTabButton -> has now the property 'label' to change the label of the TabButton
* Add to documentation
* [BugFix] use i instead of 0 to check all TabItems
* setStyle -> to change bottomTabBar
* update android
* remove hass...-functions
* update iOS set TabStyle
* iOS change icon color on buttonTabColor has been changed
* iOS update style-update rutine to update each viewcontroller in a NavigationViewController
tabButtonColor improvement
* iOS add forgotten header declaration
* iOS fix c&p error
* [Android] initialize colors for an empty AppStyles-Object
* [Android] fix update style of tabbar on display screen
* [Android] revert eventbus changes
[Android] apply guyca's solution
* [Android] rn 50 compatibility
* remove comment