
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
AoubtPage에 ScrollView 를 적용해서 테스트를 해봤는데 가운데 정렬에서 에러가 나네요. alignItems:"center"이걸 지우면 되는데 그럼 가운데 정렬이 안되서요.어떻게 해야할까요?

import { Link } from '@react-navigation/native'
import React from 'react'
import {View,Text,StyleSheet,Image,TouchableOpacity, Linking, ScrollView} from 'react-native'
export default function AboutPage(){
const aboutImage = "https://storage.googleapis.com/sparta-image.appspot.com/lecture/about.png"
const link = ()=>{
Linking.openURL("https://sensewake.tistory.com/285");
}
return (
<ScrollView style={styles.container}>
<Text style={styles.title}>HI! 스파르타코딩 앱개발 반에 오신것을 환영합니다</Text>
<View style={styles.textContainer}>
<Image style={styles.aboutImage} source={{uri:aboutImage}} resizeMode={"cover"}/>
<Text style={styles.desc01}>많은 내용을 간결하게 담아내려 노력했습니다!</Text>
<Text style={styles.desc02}>꼭 완주 하셔서 꼭 여러분것으로 만들어가시길 바랍니다</Text>
<TouchableOpacity style={styles.button} onPress={()=>link()}>
<Text style={styles.buttonText}>여러분의 인스타계정</Text>
</TouchableOpacity>
</View>
</ScrollView>
)
}
const styles = StyleSheet.create({
container: {
flex:1,
//앱의 배경 색
backgroundColor: '#1F266A',
// alignItems:"center"
},
title:{
fontSize:30,
fontWeight:"700",
color:"#fff",
paddingLeft:30,
paddingTop:100,
paddingRight:30
},
textContainer:{
width:300,
height:500,
backgroundColor:"#fff",
marginTop:60,
borderRadius:20,
justifycontent:"center",
alignItems:"center"
},
aboutImage:{
width:150,
height:150,
marginTop:60,
borderRadius:30
},
desc01:{
textAlign:"center",
fontSize:20,
fontWeight:"700",
paddingLeft:22,
paddingRight:22
},
desc02:{
textAlign:"center",
fontSize:15,
fontWeight:"700",
padding:22
},
button:{
backgroundColor:"orange",
padding:20,
borderRadius:15
},
buttonText:{
color:"#fff",
fontSize:15,
fontWeight:"700"
}
})
