for rounded view you have to give a style. I guess it will work.
style={{
margin: 10,
height: 200,
width: 20,
borderTopRightRadius: 10,//for rounded curve
borderTopLeftRadius: 10,// for rounded curve.
backgroundColor: "blue"
}}
I made a demo please have a look,
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…