팀 프로젝트 ( I )
회의를 자주 해서 좋았다.
오늘 회의한 내용은 다들 전부 완료하였고
나도 이미지 슬라이드에 밑에 넘어가는 모양까지 내 할일도 마무리 하였다.
오늘 배운내용
git / github 수업 정리
프로젝트 시작(git으로 버전관리)
git init
저장하기 전 저장할 파일 지정
git add 파일명
실제 저장 명령문
git commit -m "first commit"
저장여부 확인(현재 git 상태)
git status
변경사항 한번에 저장
git add .
ex)
git add .
git commit -m "ui 수정"
git push origin main
저장 내역 확인
git log
origin = 주소 대체
git push origin main
= git push (줄임 가능)
코드 가져오기
git clone 주소 .
폴더가 있으면 . 없으면 안붙임
다른 사람이 입력한 코드 내 코드에 가져오기
git pull origin main
clone / pull 차이점
clone은 아예 없을 때 가져오기 / 변경사항 가져오기
branch 사용법 빨리 배우고 싶다.
기능 구현
디테일하게 ui 만진건 빼고 크게 3가지를 진행하였다.
1) viewPager2 사용해서 이미지 슬라이드
Andorid - ViewPager2 사용해서 이미지 슬라이드
ViewPager2 | Jetpack | Android Developers 이 페이지는 Cloud Translation API를 통해 번역되었습니다. 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. 스와이프할 수 있는 형
rlawog.tistory.com
2) dotsIndicator 사용해서 이미지 슬라이드 밑에 넘어가는 듯한 ... 만들기
Android - 이미지 슬라이드 DotsIndicator 사용
GitHub - tommybuonomo/dotsindicator: Three material Dots Indicators for view pagers in Android ! Three material Dots Indicators for view pagers in Android ! - GitHub - tommybuonomo/dotsindicator: Three material Dots Indicators for view pagers in Android !
rlawog.tistory.com
3) 테마 기능 (라이트/다크/사용자 지정 모드)
Android - AppCompatDelegate 사용해서 테마 바꾸기 (라이트모드/다크모드 / 시스템설정)
AppCompatDelegate | Android Developers androidx.appsearch.builtintypes.properties developer.android.com 테마 바꾸는 기능을 추가하려고 찾아봤는데 아주 간단했다. 먼저 res -> colors안에 colors (night)모드를 추가해준다. 두
rlawog.tistory.com
'Kotlin > TIL' 카테고리의 다른 글
TIL (03.04) (1) | 2024.03.04 |
---|---|
TIL (02.29) (3) | 2024.02.29 |
TIL (02.27) (1) | 2024.02.27 |
TIL (02.26) (0) | 2024.02.26 |
TIL (02.23) (0) | 2024.02.23 |