DickyT / react-native-tabbar-navigator

(aka React Native Tanner Navigator) A component which builds excellent Navigator + TabBar based application, have a good solution for implementing hidesBottomBarWhenPushed in iOS.
97 stars 29 forks source link

如何动态修改导航栏的颜色? #18

Closed bluesky0109 closed 7 years ago

bluesky0109 commented 8 years ago

比如页面是一个scrollview,进入页面导航为透明色,根据scrollview滑动的距离 逐步变化导航栏的颜色、能提供对应的接口吗?? 另外问一个问题 image 类似这种 导航栏左侧或右侧有多个按钮的 能定制吗??

DickyT commented 7 years ago
  1. You can customize your own Navigator.NavigationBar and attach events on it.
  2. rightItem is a component, you can use a customized component, and not passing onPress in route, and define your own event inside your component.