Material-BottomNavigation
Material-BottomNavigation copied to clipboard
How to remove small padding on top
There is a small padding on the top which creates a little gap between the BottomNavigation and the view above. It looks really weird.
How do I remove this?
Image:
Same here, any solution ?
@hcknl Nope haven't found any, so I just used a different library.
Which one?
@Rainer-Lang This one: https://github.com/Ashok-Varma/BottomNavigation
Is this lib still maintained? I'm wondering about the open issues...
@Rainer-Lang I don't know if it's still maintained, but it works for me now. I'd suggest to come back to this library when this issue is fixed
You can override a couple of the dimen values from the library. Just add these two lines to your dimen file:
<!-- Adjust this to change the amount of elevation -->
<dimen name="bbn_elevation">8dp</dimen>
<!-- This sets the padding to 0 -->
<dimen name="bbn_top_shadow_height">0dp</dimen>
@enyciaa Thx, It's work for me.
@enyciaa Thx