Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- Data Analyst
- Restroom
- Algorithms
- Data Engineer
- Preparing for the Google Cloud Professional Data Engineer Exam
- data
- Binary Tree
- Computer Science
- 화장실 지도
- Study
- 뉴욕 화장실
- data scientist
- 데이터 엔지니어
- Computer Organization
- binary search tree
- dataStructure
- 빅데이터 지식
- 데이터 분석가
- 빅데이터
- Data Structure
- hash
- exam
- Heap
- Newyork
- 빅데이터 커리어 가이드북
- Linked List
- algorithm
- BST
- HEAPS
- priority queue
Archives
- Today
- Total
Jaegool_'s log
앱개발 종합반 2주차 내용 [스파르타 코딩] <JavaScript, ReactNative, EXPO> 본문
Development Log/App Development
앱개발 종합반 2주차 내용 [스파르타 코딩] <JavaScript, ReactNative, EXPO>
Jaegool 2022. 6. 8. 17:03https://teamsparta.notion.site/2-3e404a42faef4977bede8252891d2ead#d112045731504bf5897b27576a85d94e
[내일배움단] 앱개발 종합반 - 2주차
매 주차 강의노트 시작에 PDF파일을 올려두었어요!
teamsparta.notion.site
<유용한 공식 문서>
https://reactnative.dev/docs/style#docsNav
Style · React Native
With React Native, you style your application using JavaScript. All of the core components accept a prop named style. The style names and values usually match how CSS works on the web, except names are written using camel casing, e.g. backgroundColor rathe
reactnative.dev
https://reactnative.dev/docs/layout-props
Layout Props · React Native
More detailed examples about those properties can be found on the Layout with Flexbox page.
reactnative.dev
<앱 만들 때 가져다 쓸 코드>
import React from 'react';
import main from './assets/main.png';
import { StyleSheet, Text, View, Image, TouchableOpacity, ScrollView} from 'react-native';
export default function App() {
console.disableYellowBox = true;
return ()
}
const styles = StyleSheet.create({})
<HW>
import React from 'react';
import {StyleSheet,View, Text, Image, TouchableOpacity} from 'react-native';
export default function AboutPage() {
console.disableYellowBox=true;
return (
<View style={styles.container}>
<View style={styles.titleBox}>
<Text style={styles.title}>HI! 스파르타코딩 앱개발반에 오신것을 환영합니다</Text>
</View>
<View style={styles.contentBox}>
<Image style={styles.contentBoxImage} source={{uri:"https://firebasestorage.googleapis.com/v0/b/sparta-image.appspot.com/o/lecture%2FaboutImage.png?alt=media&token=13e1c4f6-b802-4975-9773-e305fc7475c4"}}/>
<Text style={styles.contentText01}>많은 내용을 간결하게 담아내려 노력했습니다!</Text>
<Text style={styles.contentText02}>꼭 완주하셔서 꼭 여러분 것으로 만들어가시길 바랍니다.</Text>
<TouchableOpacity style={styles.contentButton}>
<Text style={styles.contentButtonText}>여러분의 인스타계정</Text>
</TouchableOpacity>
</View>
</View>
)
}
const styles = StyleSheet.create({
container: {
backgroundColor: '#252C74',
flex:1,
alignItems:"center"
},
title: {
fontSize:30,
fontWeight:'700',
marginTop:50,
marginLeft:20,
color:"#fff"
},
titleBox: {
height: 200,
width: 330,
alignSelf:"center",
marginTop:50
},
contentBox:{
height: 500,
width: 330,
backgroundColor: "#FFFFFF",
bordercolor:"#000",
alignItems:"center",
borderRadius:30
},
contentBoxImage:{
marginTop:60,
height:200,
width:200,
alignItems:"center"
},
contentText01:{
margin: 10,
fontSize:20,
fontWeight:"700",
width:250,
textAlign:"center"
},
contentText02:{
margin: 10,
fontSize: 15,
fontWeight:"700",
width:280,
textAlign:"center"
},
contentButton:{
margin:10,
width:150,
height:50,
backgroundColor:"#F3B13D",
borderRadius:15,
},
contentButtonText:{
fontSize:15,
fontWeight:"700",
color:"#FFFFFF",
textAlign:"center",
padding:15
}
})
'Development Log > App Development' 카테고리의 다른 글
앱개발 종합반 5주차 내용 [스파르타 코딩]<AdMob, how to make money with Apps> (0) | 2022.07.03 |
---|---|
앱개발 종합반 4주차 내용 [스파르타 코딩] <firebase, real time data base> (0) | 2022.06.25 |
앱개발 종합반 3주차 내용 [스파르타 코딩] <React Navigation, ReactNative, EXPO(Share, Linking)> (0) | 2022.06.18 |
앱개발 종합반 1주차 내용 [스파르타 코딩] <JavaScript> (0) | 2022.06.03 |