我有一个底部的栏,我想添加这kind of background in react native目前它looks like this.
我如何实现这一点?
这是我当前的代码
<View style={{justifyContent: 'center', alignItems: 'center'}}>
<Image
style={tabStyle.iconSize}
source={require('../assets/List-icon-1.png')}
/>
<Image
style={tabStyle.arrowSize}
source={require('../assets/Arrow-1-1.png')}
/>
</View>
const tabStyle = StyleSheet.create({
iconSize: {
height: 35,
width: 35,
marginBottom: 5,
},
arrowSize: {
height: 17,
width: 15,
marginBottom: 5,
},
});