Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Transparent NavBar [Android] #18

Open
St1ma opened this issue May 5, 2017 · 1 comment
Open

Transparent NavBar [Android] #18

St1ma opened this issue May 5, 2017 · 1 comment

Comments

@St1ma
Copy link

St1ma commented May 5, 2017

Thanks for your library!

Could you recommend solution for making navigation bar transparent and translucent?
We try to make it absolute, but on Android it hide under page content

Thanks

@LeoLeBras LeoLeBras self-assigned this May 20, 2017
@LeoLeBras LeoLeBras added this to the 1.0.0-rc milestone May 20, 2017
@CharlesMangwa
Copy link
Contributor

CharlesMangwa commented Jun 5, 2017

Hi @St1ma! First of all, this issue should be addressed with the next rc !
But for now if you need a workaround, I'll suggest you tweak <BottomNavigation /> with one of these 2 solutions:

1 - Build it from scratch!

You can use the renderTabBar from <BottomNavigation /> to create your own navbar and thus, manage your style as you want.

2 - Style the current navbar

This solution relies on several props exposed by <BottomNavigation />. Therefore, you'd use:

  • tabBarStyle, to set a transparent background color

  • tabStyle, tabTintColor & tabActiveTintColor, to change the style of each item of your navbar

  • renderLabel & renderTabIcon or label & labelStyle, for the label & icon of your tab item, depending on what you design looks like.

Let us know if this is of any help!

@LeoLeBras LeoLeBras modified the milestone: 1.0.0-rc Jun 10, 2017
@LeoLeBras LeoLeBras modified the milestones: 1.0.0-stable, 1.0.0-rc Sep 6, 2017
@LeoLeBras LeoLeBras removed this from the v1.0.0-stable milestone Dec 9, 2017
@LeoLeBras LeoLeBras removed the v2 💥 label Oct 1, 2018
@LeoLeBras LeoLeBras removed their assignment Oct 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants