Check out example codes for "make the first item at the very top of the screen". It will help you in understanding the concepts better.

Code Example 1

.fixedElement {
    position:fixed;
    top:0;
    width:100%;
    z-index:100;
}

Learn ReactJs, React Native from akashmittal.com