No major changes, just tweaked values a little bit.
* Fab animation duration changed to 120 (previously 200)
* Fab show animation: Scales from 0.6 to 1 (previously 0)
* Fab hide animation: Scales from 1 to 0.6 (previously 0)
* Removed alpha delay from screen animation
* TranslationY value changed from 8% to 5%
* Support showing modals with the default screen push/pop animation
* Set navigation bar color before modal is displayed
* Implement screenAnimationType property
controls animation type of all screens including modals.
When toggleTabs was called, the visibility state of the BottomTabs
was not persisted. There for, when pushing a screen and popping
the BottomTabs visibility state was set to the value of bottomTabsHidden
from navigatorStyle.
This commit continues the work done in #2057.
When hardware back button is pressed, we handle it accordingly:
1. If screen was pushed with `overrideBackPress: true`, we emit `backPress` event
2. Let `BackHandler` handle the event
3. If the event wasn't handled by `BackHandler`, pop the stack
4. let the system handle the event
Revert "fix issues with Android BackHandler listeners not getting called, not allowing to override the back functionality from the JS side (#2057)" (#2060)
Until now, buttons would use the same font family used by the title,
this commit introduces navBarButtonFontFamily property which allows to set
a different font family for title and buttons.
Support subtitle FontFamily on size on Android (#2036)
* Support subtitle FontFamily on size on Android
Font family can be either a .ttf/.otf asset or one of the default font families:
* sans-serif (regular)
* sans-serif-light
* sans-serif-condensed
* sans-serif-thin
* sans-serif-medium
* update docs
While working I got a situation in which I wanted to open the side drawer on a button click. But I was not able to that. So I made some changes and now I am able to achieve the required functionality.
Backwards compatibility for clearHostOnActivityDestroy (#1944)
This commit fixes two issues found in #1838. Fixes #1924
1. Keeps calling the deprecated reactInstanceManager methods when host is cleared
to not introduce undesired behavior when clearHostOnActivityDestroy return true.
2. call onHostDestroy and onHostPause only if react context exists or is being created.
* remove unused code from tabStyle
* improve dummy screen ui
* set list screen translucent navigation bar
* make RCCToolBarView to composite the UIRootView inside
* add list screen for debug behaviours
* add dummy screen
* ui changes in ListScreen
* add push list screen function without add it to the button to the screen
* add and comment push list screen row
This commit adds support for fade and slide-horizontal animations for modals and a few other animation related changes:
* Support defining animationType when calling dismissModal
* Support fade and slide horizontal animations for modals
* Slightly reworked current screen animations timings
* Fixed slide-horizontal x offset and removed alpha