-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1주차/필수/XML] Android UI 구현 기초 : 회원가입 및 로그인 #3
Changes from 1 commit
97d1ed6
4021751
7cc1f2c
139008c
a398735
8ac5f99
193b102
883bbc3
4381c77
6b8b859
ee67423
12f4f26
7b6b12f
f8788c5
a0dc149
d5d97de
fee0317
d55ae28
d7674bb
306d55a
13a3d6f
894acd9
dfb7350
e2c9a64
f92dc51
70139b8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,82 @@ | |
android:layout_height="match_parent" | ||
tools:context=".MainActivity"> | ||
|
||
<ImageView | ||
android:id="@+id/imgMainProfile" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="100dp" | ||
android:layout_marginStart="50dp" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:srcCompat="@drawable/ic_launcher_background" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 원하시는 사진으로 drawable에 추가해서 교체해주면 좋을 것 같네요! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 실은 사진 추가하는 것까지는 아직 엄두를 못냈었는데 2주차 세미나를 통해 drawable 부분을 이용하는 법을 알게돼서 이제는 추가해볼 수 있을거 같습니다! |
||
/> | ||
|
||
<TextView | ||
android:id="@+id/tvMainName" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="Hello World!" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
android:text="닉네임" | ||
android:textSize="25sp" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintStart_toEndOf="@+id/imgMainProfile" | ||
android:layout_marginTop="170dp" | ||
android:layout_marginStart="20dp" | ||
/> | ||
|
||
<TextView | ||
android:id="@+id/tvMainId" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="30dp" | ||
android:layout_marginStart="50dp" | ||
android:text="아이디" | ||
android:textSize="20dp" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
app:layout_constraintTop_toBottomOf="@+id/imgMainProfile" /> | ||
|
||
<TextView | ||
android:id="@+id/tvMainShowId" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="50dp" | ||
android:layout_marginTop="10dp" | ||
android:text="alswo0831" | ||
android:textSize="15dp" | ||
app:layout_constraintTop_toBottomOf="@+id/tvMainId" | ||
app:layout_constraintStart_toStartOf="parent"/> | ||
|
||
<TextView | ||
android:id="@+id/tvMainPw" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="50dp" | ||
android:layout_marginTop="30dp" | ||
android:text="비밀번호" | ||
android:textSize="20dp" | ||
app:layout_constraintTop_toBottomOf="@+id/tvMainShowId" | ||
app:layout_constraintStart_toStartOf="parent"/> | ||
|
||
<TextView | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 인풋타입 패스워드 써보시면 ..!🤩 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 과제 조건에도 있었답니다?! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MainActivity 에는 비밀번호가 안보이게 하라는 과제 명세가 없었던거 같아서 로그인과 회원가입 시에만 구현을 해놨네요! 생각해보니까 비밀번호 그냥 보여주는게 이상한거 같기도..? |
||
android:id="@+id/tvMainShowPw" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="10dp" | ||
android:layout_marginStart="50dp" | ||
android:text="88888888" | ||
android:textSize="15dp" | ||
app:layout_constraintTop_toBottomOf="@+id/tvMainPw" | ||
app:layout_constraintStart_toStartOf="parent"/> | ||
|
||
<TextView | ||
android:id="@+id/tvMainSopt" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="SOPT에 온 걸 환영해!" | ||
android:textSize="30dp" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
android:layout_marginTop="40dp"/> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imageView의 경우에는 iv~로 많이 씁니당. 보통 뷰 네임의 대문자를 따서 지어요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 뭐로 줄여야할지 고민했었는데 뷰 네임 대문자가 기준이였군요!!! 막힌 혈이 뜷렸습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사소하게라도 헷갈리거나 궁금한게 있다면 바로 오비한테 물어보세욧~~!