This commit adds support for icons in TopTabs.
It’s possible to have icons with text, or only icons.
Use topTabIconColor and selectedTopTabIconColor to color the icons
Android: If the user has specified navigatorButtons on the showModal params use those instead of the default navigatorButtons of the registered screen. (#675)
* Don’t create SideMenu button automatically on Android
* Remove left button and add it dynamically
* Fix resetTo animation on Android
Up until now resetTo would destroy the current stack and create a new
one. This was an easy implementation but resulted in jurky
(none existent) animations.
This commit changes resetTo behavior. Instead of recreating the stack,
the we reset to is pushed to the stack, and the other elements are
removed when show animation ends.
Sends a nav event whenever the sideMenu button is clicked. (Android) (#617)
* Dispatch a navigation event whenever the side menu button is clicked (BottomTabsLayout)
* Dispatch a navigation event whenever the side menu button is clicked (SingleScreenLayout)
* Changed the way the navigatorEventId is retrieved in SingleScreenLayout.
add tabBarDelegate -not really needed since RCCTabBarController is already delegate to him self (inheritss from UITabBarController). adding this for the record. (#604)
handle hiding/showing the navigation bar properly when moving between screen that have a transparent navigation bar and ones that have visible bars. (#609)
added status bar color scheme for single screen which isn't pass on p… (#608)
* added status bar color scheme for single screen which isn't pass on push. Set "statusBarTextColorSchemeSingleScreen" on the navigatorStyle
* make statusBarTextColorSchemeSingleScreen preferred option when both statusBarTextColorScheme and statusBarTextColorSchemeSingleScreen are exists
* Less intrusive collapsing implementation
In order for a screen to implement collapsingTopBar, it had to define
a specific set of style properties such as drawUnderTabBar or
drawUnderNavBar. This commit aims to make implementing collapsingTopBar
less intrusive by inferring these properties from hideTitleBarOnScroll.
This commit introduces a few fixes and changes related to
the collapsingTopBar mechanism.
1. Screens are now drawn under bottomTabs if titleBarHideOnScroll
is true.
2. TitleBarHideOnScroll can be passed in AppStyle.
3. ScrollView is detected properly after it gets detached due to large
diff in render.
4. Take BottomTabs height into account when measuring collapsing
screens.