react-native-navigation开发笔记
2019-04-24 本文已影响0人
太平洋_cfd2
1. 在Android上,可以使用mergeOptions命令动态切换可见性。隐藏BottomTabs时,应指定drawBehind:true,以便屏幕在先前分配给BottomTabs的区域后面渲染。
https://github.com/wix/react-native-navigation/issues/4319
2. Push动画中,topBar突然变白问题
3. react-natvie-navigation动画问题
https://wix.github.io/react-native-navigation/#/docs/styling?id=customizing-navigation-commands-animation
4. topBar的隐藏
https://github.com/wix/react-native-navigation/issues/3416
5. 设置小红点,或研究react-native-navigation
https://github.com/aurelhubert/ahbottomnavigation/tree/c4114c23213f0e86216f75b2770964dbc02eebb0
<!-- 设置小红点大小 -->
<dimen name="bottom_navigation_notification_radius">5dp</dimen>
<dimen name="bottom_navigation_notification_height">10dp</dimen>
<dimen name="bottom_navigation_notification_width">10dp</dimen>