When a view with collapsing header was fully expended, scrolling down
and quickly releasing the finger would couse the list to "bounce back".
Since the view can collapse only if its scrollY amount is less then the
scaled touch slop - the view didn't collapse and instead, scroll was
enabled.
* [android] Basic implementation of orientation change event and getter
#dasdsa
* [android] Check if fabAnimator is not null
* [android] Add configChanges prop to NavigationActivity in AndroidManifest
* [android] Fix duplicate declaration of onConfigurationChange
* [android] Use EventEmitter class to dispatch orientation change events
* Adds iOS callback for viewWillAppear/didAppear e.t.c.
* Adds in screen events on Android
* Fixed issue with rightButtons getting ignored in preference for empty Screen buttons
* Android screen lifecycle
This commit is contains a few changes and enhancements to the PR made by simon:
* Use getEventEmitter instead of sendNavigatorEvent
* Dispatch willDisappear and didDisappear events when pushing screens
* Dispatch willAppear and didAppear events when popping screen
Implement collapsingToolBarExpendedColor and showTitleWhenExpended (#793)
collapsingToolBarExpendedColor - determines the TitleBar color in expended mode
showTitleWhenExpended - defaults to true when expended color is defined.
Fadeout translucent drawable when collapsing (#788)
* Fadeout translucent drawable when collapsing
* Change default scrim color to none
* Fade out translucent when collapsingToolBarCollapsedColor is not defined
* Fixed issue with rightButtons getting ignored in preference for empty Screen buttons
* Fixes setting transparency of navigation bar using setStyle or when no transitionCoordinator
* Set to use old bridge for compatibility with 0.30+
* Fixed crash occurring when tabBarBackgroundColor or tabBarButtonColor is not supplied
* Adds setStyle property to index.js
* Adds native code for setting style on RCCViewController
* Fixes setStyle function
* Fixes setting style on navigator
* Adds some styling to tab bar controller and fixes some bugs
* Adds ability to set modal presentation style
* Makes sure autoAdjustScrollViewInsets isn't propagated through when push another view controller
* Changes import to reference controllers rather than react-native-controllers and fixes setStyle mutating colours
* Fixed to work with RN 33
* Fixes updating title font styling with new RCCTitleViewHelper logic
* Fixes subtitle being shown
* Adds extendedLayoutIncludesOpaqueBars to navigation styling
* Adds ability to add shadows to text in navigation bar / tab bar
* Fixed merged ReactGateway.java file
* Fixed issue with rightButtons getting ignored in preference for empty Screen buttons
* Fixes compiler error
More work towards collapsing react view in top bar
This commit contains various fixes and enhancements, mostly because I
was too lazy to commit small changes.
* Add topBarCollapseOnScroll style property which compliments
navBarHideOnScroll. This property is needed when showing a
collapsing topTabs screen. In this case the developer might to keep
the titleBar bar when the screen is collapsed.
* Reduce collapse sensitivity by taking scaled touch slop into account
* Cancel touches when collapsing. This fix prevents buttons from
responding to touch events when collapse ends.