kanelloc / react-native-animated-header-scroll-view

React native animated header ScrollView & FlatList. Animates an image or a custom component into a navbar header.
https://www.npmjs.com/package/@kanelloc/react-native-animated-header-scroll-view
MIT License
253 stars 21 forks source link

Top Bar Height on Android #43

Closed harisnaufal closed 1 year ago

harisnaufal commented 1 year ago

Hi, I have an issue regarding the top bar on android devices. The height is bigger than iOS -- seems like the top had a big padding on it. You have a props headerMaxHeight but it doesn't work good with what I want it to be.

Hope you can figure it out on your android devices. The library was cool and really like it! Thanks in advance.

harisnaufal commented 1 year ago

WhatsApp Image 2023-02-21 at 10 39 41

Like this.

kanelloc commented 1 year ago

Hey @harisnaufal ! You can use topBarHeight to adjust the height of the top bar. Check also here: https://github.com/kanelloc/react-native-animated-header-scroll-view#props

kanelloc commented 1 year ago

@harisnaufal Thanks for using this library 🎉 🎉 . If you like it please leave a ⭐