일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 앱인벤터 앱만들기
- TooLLLM_facilitating Large Language Models to Maset 16000+ Real-World APIs
- 알고리즘
- c#
- 수술영상 분류
- 재귀함수
- MySQL 연동
- 퀵정렬
- 최소 신장 트리
- timestamp supervision
- medical AI
- 앱인벤터
- 동적계획 알고리즘
- 앱인벤터 어플만들기
- 알고리즘 이론
- 앱인벤터 기초
- 오라클로 배우는 데이터베이스 개론과 실습 2판
- 앱인벤터 구구단
- LLM 논문
- 분할정복
- 분할정복 알고리즘
- 앱인벤터 TinyDB
- 그리디 알고리즘
- C#으로 알고리즘 구현
- 알고리즘 공부
- 수술영상 phase recognition
- 데이터베이스
- 이클립스 DB연동
- LLM 논문리뷰
- LaMa2
- Today
- Total
YJ_Scribbles
#HW01_계산기만들기 본문
★ 계산기 만들기
★ 디자인하기
1. Screen 설정 변경
ㅇ Theme 바꾸기
- [Components -> Screen1 선택 : Properties -> Theme -> "Device Default" 선택]
ㅇTitle 바꾸기
- Properties -> Title -> "사칙계산기"로 변경
ㅇ 정렬
- Properties -> AlignHorizontal -> "Center" 선택
- Properties -> AlignVertical -> "Center" 선택
ㅇ 배경색
- Properties -> BackgroundColor -> "Pink" 선택
2. Image넣기
ㅇ Layout 추가하기
- Layout 선택 : [Palette -> Layout -> "HorizontalArrangement"] 선택 후 드래그
- Layout 넓이: [Properties -> Width -> "Fill Parent"] 선택
- Layout 정렬 : [Properties -> AlignHorizontal -> "Center"] 선택
ㅇ Image 추가
- 이미지 추가 : [Palette -> UserInterface -> "Image" 선택 후 "Layout"]으로 드래그
- 이미지 업로드 : [Properties -> Picture -> Upload File]
- 이미지 크기 : [Properties -> Width,Height -> "128 pixel"로 설정]
3. 숫자 입력하는 부분
ㅇ Layout 추가하기
- 레이아웃 선택 : [Palette -> Layout -> "VerticalArrangement"] 선택 후 드래그
- 레이아웃 사이즈 : [Properties -> Width -> "40 percent"] 선택
ㅇ TextBox 2개 추가하기
- 힌트넣기 : [Properties -> Hint -> "숫자1", "숫자2" 각각 입력]
- 글자크기 : [Properties -> FontSize -> "30"으로 설정]
- 정렬 : [Properties -> TextAlignment -> "Center" 설정]
- 사이즈 : [Properites -> Width -> "Fill parent" 설정]
4. 사칙계산 버튼
ㅇ Layout 추가하기
- Layout 선택 : [Palette -> Layout -> "HorizontalArrangement"] 선택 후 드래그
- Layout 넓이: [Properties -> Width -> "80 percent"] 선택
- Layout 정렬 : [Properties -> AlignHorizontal -> "Center"] 선택
ㅇ Button 4개 추가하기
- 사이즈(4개 모두) : [Properties -> Width -> "Fill parent" 선택]
- 글자크기(4개 모두) : [Properties -> FontSize -> "35"으로 설정]
5. 결과출력하기
ㅇ Layout 추가하기
- Layout 선택 : [Palette -> Layout -> "HorizontalArrangement"] 선택 후 드래그
- Layout 정렬 : [Properties -> AlignHorizontal -> "Center"] 선택
ㅇTextBox 추가하기
- 힌트 : [Properties -> Hint -> "결과" 작성]
- 글자크기 : [Properties -> FontSize -> "35"으로 설정]
- 정렬 : [Properties -> TextAlignment -> "Center" 설정]
6. Component 이름바꾸기
- TextBox1 -> "txtNo1"
- TextBox2 -> "txtNo2"
- Button1 -> "btnPlus"
- Button2 -> "btnMinus"
- Button3 -> "btnMul"
- Button4 -> "btnDiv"
- TextBox3 -> "txtResult"
★ 코딩하기
1. 더하기 버튼
2. 빼기 버튼
3. 곱하기 버튼
4. 나누기 버튼
★ 실행하기
'프로그래밍 > 앱인벤터_교양' 카테고리의 다른 글
#08_두더지잡기 게임 (0) | 2020.10.21 |
---|---|
#07_디지털시계 (0) | 2020.10.21 |
#05_구구단게임 (0) | 2020.10.09 |
#04_2_나침반앱 만들기 (0) | 2020.10.05 |
#04_1_만보기 만들기 (0) | 2020.10.04 |