-
Notifications
You must be signed in to change notification settings - Fork 12
[김예란_ Android] 9주차 과제 제출 #74
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| package com.example.bcsd_android_2025_1 | ||
|
|
||
| class MusicAdapter { | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| package com.example.bcsd_android_2025_1 | ||
|
|
||
| class MusicItem { | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,12 +8,101 @@ | |
| tools:context=".MainActivity"> | ||
|
|
||
| <TextView | ||
| android:id="@+id/text_login_title" | ||
| android:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:text="Hello Android!" | ||
| app:layout_constraintBottom_toBottomOf="parent" | ||
| android:text="로그인" | ||
| android:textSize="30sp" | ||
| app:layout_constraintEnd_toEndOf="parent" | ||
| app:layout_constraintStart_toStartOf="parent" | ||
| app:layout_constraintTop_toTopOf="parent" /> | ||
| app:layout_constraintTop_toTopOf="parent" | ||
| android:layout_marginTop="150dp"/> | ||
|
|
||
| <EditText | ||
| android:id="@+id/edit_login_title" | ||
| android:layout_width="0dp" | ||
| android:layout_height="wrap_content" | ||
| android:hint="아이디" | ||
| android:inputType="text" | ||
| app:layout_constraintTop_toBottomOf="@id/text_login_title" | ||
| app:layout_constraintStart_toStartOf="parent" | ||
| app:layout_constraintEnd_toEndOf="parent" | ||
| android:layout_marginTop="120dp" | ||
|
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. 마찬가지로 bias로 조정하시는 것을 추천드립니다 |
||
| android:layout_marginStart="30dp" | ||
| android:layout_marginEnd="30dp"/> | ||
|
|
||
| <EditText | ||
| android:id="@+id/edit_login_password" | ||
| android:layout_width="0dp" | ||
| android:layout_height="wrap_content" | ||
| android:hint="비밀번호" | ||
| android:inputType="text" | ||
| app:layout_constraintTop_toBottomOf="@id/edit_login_title" | ||
| app:layout_constraintStart_toStartOf="parent" | ||
| app:layout_constraintEnd_toEndOf="parent" | ||
| android:layout_marginTop="5dp" | ||
| android:layout_marginStart="30dp" | ||
| android:layout_marginEnd="30dp"/> | ||
|
|
||
| <Button | ||
| android:id="@+id/button_login" | ||
| android:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:text="로그인" | ||
| android:backgroundTint="#462679" | ||
|
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. color도 resource사용을 권장드립니다 |
||
| app:layout_constraintTop_toBottomOf="@id/edit_login_password" | ||
| android:layout_marginTop="10dp" | ||
| app:layout_constraintStart_toStartOf="parent" | ||
| app:layout_constraintEnd_toEndOf="parent" /> | ||
|
|
||
| <ImageView | ||
| android:id="@+id/img_login_naver" | ||
| android:layout_width="30dp" | ||
| android:layout_height="30dp" | ||
| android:src="@drawable/ic_logo_naver" | ||
| app:layout_constraintTop_toBottomOf="@id/button_login" | ||
| app:layout_constraintStart_toStartOf="parent" | ||
| app:layout_constraintEnd_toEndOf="parent" | ||
| android:layout_marginTop="5dp"/> | ||
|
|
||
| <ImageView | ||
| android:id="@+id/img_login_google" | ||
| android:layout_width="30dp" | ||
| android:layout_height="30dp" | ||
| android:src="@drawable/ic_logo_google" | ||
| app:layout_constraintTop_toBottomOf="@id/button_login" | ||
| app:layout_constraintEnd_toStartOf="@id/img_login_naver" | ||
| android:layout_marginEnd="10dp" | ||
| android:layout_marginTop="5dp"/> | ||
|
|
||
| <ImageView | ||
| android:id="@+id/img_login_kakao" | ||
| android:layout_width="30dp" | ||
| android:layout_height="30dp" | ||
| android:src="@drawable/ic_logo_kakao" | ||
| app:layout_constraintTop_toBottomOf="@id/button_login" | ||
| app:layout_constraintStart_toEndOf="@id/img_login_naver" | ||
| android:layout_marginStart="10dp" | ||
| android:layout_marginTop="5dp"/> | ||
|
|
||
| <TextView | ||
| android:id="@+id/tv_login_findpassword" | ||
| android:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:text="비밀번호 찾기" | ||
| android:textSize="10dp" | ||
| app:layout_constraintTop_toBottomOf="@id/img_login_naver" | ||
| app:layout_constraintStart_toStartOf="@id/img_login_google" | ||
| android:layout_marginTop="10dp"/> | ||
|
|
||
| <TextView | ||
| android:id="@+id/text_login_signup" | ||
| android:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:text="가입하기" | ||
| android:textSize="10dp" | ||
| app:layout_constraintTop_toBottomOf="@id/img_login_naver" | ||
| app:layout_constraintEnd_toEndOf="@id/img_login_kakao" | ||
| android:layout_marginTop="10dp"/> | ||
|
|
||
| </androidx.constraintlayout.widget.ConstraintLayout> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:layout_width="match_parent" | ||
| android:layout_height="match_parent"> | ||
|
|
||
| </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.
150dp 대신에 horizontal_bias를 통해 위치를 조정하시는 방식을 추천드립니다