I want to use a scrollView that when i scroll over the top it has the background color of the top element (green) and when it bounces on the bottom it has the color of the bottom element (white). I am not sure how I can do that.
<ScrollView style={{backgroundColor: MColor.WHITE, marginTop: 64, height: Display.height - 64 - 72}}>
<View style={{backgroundColor: 'green', height: 200}} />
<View style={{backgroundColor: 'white', height: 800}} />
</ScrollView>
Any help is appreciated, probably one can set fake views in at the bottom and at the top but i am not sure how to do that exactly.