-
Notifications
You must be signed in to change notification settings - Fork 8
1주차 미션 / 2조 김대한 #6
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
Open
about-kim
wants to merge
5
commits into
Konkuk-KUIT:about-kim
Choose a base branch
from
about-kim:about-kim/week1
base: about-kim
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| - 제목: | ||
| N주차 미션 / N조 000 (확인 후 지워주세요) | ||
|
|
||
| ## 1. 미션 | ||
| 각 주차에 해당하는 미션 체크리스트 | ||
|
|
||
| - | ||
|
|
||
| ## 2. 구현에 대한 설명 | ||
| 본인이 구현한 것에 대한 설명 | ||
|
|
||
| - | ||
|
|
||
| ## 3. 스크린샷 & 실행영상 | ||
| 실행영상이 있다면 실행영상을, 없다면 스크린샷 첨부 | ||
|
|
||
| - | ||
|
|
||
| ## 4. 기타 | ||
| 기타 문의사항이나 질문사항, 그 외 하고싶은 말 | ||
|
|
||
| - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,11 +17,13 @@ import androidx.compose.foundation.layout.size | |
| import androidx.compose.foundation.shape.CircleShape | ||
| import androidx.compose.foundation.shape.RoundedCornerShape | ||
| import androidx.compose.material3.Scaffold | ||
| import androidx.compose.material3.Text | ||
| import androidx.compose.ui.Modifier | ||
| import androidx.compose.ui.draw.clip | ||
| import androidx.compose.ui.graphics.Color | ||
| import androidx.compose.ui.res.painterResource | ||
| import androidx.compose.ui.unit.dp | ||
| import androidx.compose.ui.unit.sp | ||
| import com.example.kuit7.ui.theme.KUIT7week1Theme | ||
|
|
||
| class MainActivity : ComponentActivity() { | ||
|
|
@@ -31,75 +33,32 @@ class MainActivity : ComponentActivity() { | |
| setContent { | ||
| KUIT7week1Theme { | ||
| Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding -> | ||
| Box(Modifier.padding(innerPadding)) { | ||
| Row { | ||
| Column( | ||
| Modifier | ||
| .padding(top = 30.dp, start = 70.dp), | ||
| verticalArrangement = Arrangement.spacedBy(20.dp) | ||
| ) { | ||
| Box( | ||
| Modifier | ||
| .size(60.dp) | ||
| .background(Color.Black, shape = RoundedCornerShape(20.dp)) | ||
| ) | ||
| Box( | ||
| Modifier | ||
| .size(60.dp) | ||
| .border( | ||
| width = 2.dp, | ||
| color = Color.Black, | ||
| shape = RoundedCornerShape(20.dp) | ||
| ) | ||
| ) | ||
| Box( | ||
| Modifier | ||
| .size(76.dp) | ||
| .border(width = 1.dp, color = Color.Black) | ||
| .padding(8.dp) | ||
| .background(Color.Red) | ||
| ) | ||
| Image( | ||
| painter = painterResource(R.drawable.image), | ||
| contentDescription = "강아지 이미지", | ||
| modifier = Modifier.size(80.dp) | ||
| ) | ||
| } | ||
| Column( | ||
| Modifier | ||
| .padding(top = 30.dp, start = 60.dp), | ||
| verticalArrangement = Arrangement.spacedBy(20.dp) | ||
| ) { | ||
| Box( | ||
| Modifier | ||
| .size(60.dp) | ||
| .background(Color.Black, shape = CircleShape) | ||
| ) | ||
| Box( | ||
| Modifier | ||
| .size(60.dp) | ||
| .border( | ||
| width = 2.dp, | ||
| color = Color.Black, | ||
| shape = CircleShape | ||
| ) | ||
| ) | ||
| Box( | ||
| Modifier | ||
| .size(76.dp) | ||
| .border(width = 1.dp, color = Color.Black) | ||
| .padding(8.dp) | ||
| .background(Color.Blue, CircleShape) | ||
| ) | ||
| Image( | ||
| painter = painterResource(R.drawable.image), | ||
| contentDescription = "강아지 이미지", | ||
| modifier = Modifier.size(80.dp) | ||
| .clip(CircleShape) | ||
| ) | ||
| } | ||
| Box( | ||
|
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. 바깥 Box 없이 Column 만으로도 충분히 같은 디자인 구현하실 수 있습니다! |
||
| modifier = Modifier | ||
| .padding(paddingValues = innerPadding) | ||
| .padding(top = 50.dp, start = 50.dp) | ||
| .size(300.dp) | ||
| .border( | ||
| width = 2.dp, color = Color.Black, shape = RoundedCornerShape(15.dp) | ||
| ) | ||
| .background(Color.White) | ||
| ) { | ||
| Column( | ||
| Modifier.padding(top = 20.dp, start = 20.dp), | ||
| verticalArrangement = Arrangement.spacedBy(1.dp) | ||
|
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. 1.dp 보다는 큰 값이 좋을 것 같습니다! |
||
| ) { | ||
| Image( | ||
| painter = painterResource(R.drawable.picture), | ||
| contentDescription = "프로필 사진", | ||
| modifier = Modifier | ||
| .size(100.dp) | ||
| .clip(RoundedCornerShape(30.dp)) | ||
| ) | ||
| Text("이름: 김대한", fontSize = 15.sp) | ||
| Text("학번: 202415176", fontSize = 15.sp) | ||
| Text("학과: 컴퓨터공학부", fontSize = 15.sp) | ||
| Text("생년월일: 2002/05/22", fontSize = 15.sp) | ||
| } | ||
|
|
||
| } | ||
| } | ||
| } | ||
|
|
||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
불필요한 임포트 정리하는 단축키:
Windows/Linux: Ctrl + Alt + O
macOS: Option + Command + O