I was wondering if there is already a simple way to customize the stack navigator header to achieve something like this:
Normal:
Searchbar open: