Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/AndroidProjectSystem.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

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 {
}
Binary file added app/src/main/res/drawable/ic_logo_google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_logo_kakao.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_logo_naver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 92 additions & 3 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

150dp 대신에 horizontal_bias를 통해 위치를 조정하시는 방식을 추천드립니다


<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"

Choose a reason for hiding this comment

The 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"

Choose a reason for hiding this comment

The 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>
6 changes: 6 additions & 0 deletions app/src/main/res/layout/item_music.xml
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>