커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
로딩중 이미지 바꾸고 싶어서 url를 바꿨는데 안되용
[왕초보] 나만의 수익성 앱, 앱개발 종합반
3주차
북마크
장*주
댓글
13
추천
0
조회수
20
조회수
20
답변 완료

ㅏimport React from 'react';


import {View,Text, Image, StyleSheet} from 'react-native';




const loadImage = 'https://i.ibb.co/T07c4bK/01-2.png' // 원하는 이미지의 url 삽입


export default function Loading(){


return(<View style={styles.container}>


<Text style={styles.title}>준비중입니다...</Text>

<Image style={styles.img} source={{uri:loadImage}}/>


</View>)


}





const styles = StyleSheet.create({


container: {


//앱의 배경 색


flex:1,


justifyContent:'center',


alignItems:'center',


backgroundColor: '#fdc453',


},


title: {


fontSize:20,


fontWeight:'700'


},

img: {

width:50,

height:50

}

})


예제 로딩중이랑 같은 로딩페이지가 뜨더라고요.. 저 이미지 바꿨는데

취소
 공유
취소
댓글 0
댓글 알림
나의얼굴