
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
문장위치가 아닌 글씨 자체를 가운데 정렬하는 방법을 알고싶어요.
어떻게 검색해도 전체를 가운데 두는 방법만 나옵니다.

작성한 코드 및 에러 메세지
import React from 'react'
import { View, Text, StyleSheet, Image, TouchableOpacity } from 'react-native'
export default function AboutPage() {
return (
<View style={styles.container}>
<Text style={styles.title}>HI! 스파르타코딩 앱개발 반에 오신것을 환영합니다</Text>
<View style={styles.containerOne}>
<Image style={styles.mainImage} source={{ uri: main }}></Image>
<Text style={styles.textOne}>많은 내용을 간결하게 담아내려 노력했습니다!</Text>
</View>
</View>)
}
const styles = StyleSheet.create({
container: {
backgroundColor: 'navy',
flex: 1
},
containerOne: {
width: '82%',
height: 525,
backgroundColor: 'white',
marginTop: 50,
margin: 35,
borderRadius: 30
},
title: {
color: 'white',
width: '85%',
fontSize: 25,
fontWeight: '700',
marginTop: 50,
marginLeft: 30
},
mainImage: {
width: 160,
height: 160,
marginTop: 80,
marginLeft: '25%',
borderRadius: 30
},
textOne: {
width: '80%',
fontSize: 16,
fontWeight: '700',
margin:5,
alignSelf:"center"
}
})
