Tabbar position on Android always at the top
See original GitHub issueHi all.
Version
- react-native-router-flux v4.0.5
- react v16.5.
- react-native v0.57.1
I have switched from another Tab component to the Router-Flux one. Everything is working fine, except from the Tabbar position itself on android.
Expected behaviour
<Scene
key="mainTab"
hideNavBar
gesturesEnabled={false}
panHandlers={null}
type={ActionConst.RESET}>
<Tabs
key="tabbar"
routeName="tabbar"
legacy
backToInitial
onTabOnPress={() => {
console.log('Back to initial and also print this');
}}
swipeEnabled
showLabel={false}
tabBarStyle={styles.tabBarStyle}
activeBackgroundColor="white"
inactiveBackgroundColor="rgba(255, 0, 0, 0.5)"
tabBarPosition="bottom"
>
This is the code I have copied from the example, and I have added the tabBarPosition="bottom"
.
Actual behaviour
On iOS the Tabbar is at the bottom, but on Android is at the top.
Maybe I am wrong, but for what I have read on the documentation, the default behaviour on iOS is at the botton and for Android at the top, but I thought that it was possible also on android to place the tabbar at the bottom.
Isn’t it? Thank you in advance.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Android keyboard puts tab bar on top - Stack Overflow
This makes your Tabbar to stay at the bottom even when the softkeyboard is visible. Share.
Read more >Material Top Tabs Navigator | React Navigation
Position of the tab bar in the tab view. Possible values are 'top' and 'bottom' . Defaults to 'top' . keyboardDismissMode .
Read more >Flutter TabBar: A complete tutorial with examples
…you won't get a callback when you swipe the tab bar with your finger. That's why it's always better to add a listener...
Read more >One-handed Use of Tab Bar/Bottom Navigation - UX Planet
One-handed Use of Tab Bar/Bottom Navigation — Best Practices for ... when designing for the tab bar/bottom navigation in iOS and Android.
Read more >Create swipe views with tabs using ViewPager
Note: If you have a large or potentially infinite number of pages, set the android:tabMode attribute on your TabLayout to "scrollable". This ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can try installing my forked repo
Tabbar position on Android always at the top, Please help me