-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUD-32] feat : 신규 Buddy 등록 구현 (#13)
- Loading branch information
Showing
33 changed files
with
681 additions
and
263 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<corners android:radius="50dp"/> | ||
</shape> |
This file contains 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,21 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="26dp" | ||
android:height="26dp" | ||
android:viewportWidth="26" | ||
android:viewportHeight="26"> | ||
<path | ||
android:strokeWidth="1" | ||
android:pathData="M13,13m-12,0a12,12 0,1 1,24 0a12,12 0,1 1,-24 0" | ||
android:fillColor="#545454" | ||
android:strokeColor="#ffffff"/> | ||
<group> | ||
<clip-path | ||
android:pathData="M7.167,7.167h11.667v11.667h-11.667z"/> | ||
<path | ||
android:pathData="M16.403,9.111H16.156L15.094,7.734C14.957,7.558 14.782,7.416 14.582,7.317C14.382,7.219 14.162,7.168 13.939,7.167H12.061C11.838,7.168 11.618,7.219 11.418,7.317C11.218,7.416 11.043,7.558 10.906,7.734L9.844,9.111H9.597C8.953,9.112 8.335,9.368 7.879,9.824C7.424,10.28 7.167,10.897 7.167,11.542V16.403C7.167,17.047 7.424,17.665 7.879,18.121C8.335,18.576 8.953,18.833 9.597,18.833H16.403C17.047,18.833 17.665,18.576 18.121,18.121C18.576,17.665 18.833,17.047 18.833,16.403V11.542C18.833,10.897 18.576,10.28 18.121,9.824C17.665,9.368 17.047,9.112 16.403,9.111ZM11.676,8.328C11.721,8.27 11.78,8.222 11.846,8.189C11.913,8.156 11.986,8.139 12.061,8.139H13.939C14.014,8.139 14.087,8.156 14.153,8.189C14.22,8.222 14.279,8.27 14.324,8.328L14.928,9.111H11.072L11.676,8.328ZM17.861,16.403C17.861,16.79 17.708,17.16 17.434,17.434C17.16,17.708 16.79,17.861 16.403,17.861H9.597C9.21,17.861 8.84,17.708 8.566,17.434C8.293,17.16 8.139,16.79 8.139,16.403V11.542C8.139,11.155 8.293,10.784 8.566,10.51C8.84,10.237 9.21,10.083 9.597,10.083H16.403C16.79,10.083 17.16,10.237 17.434,10.51C17.708,10.784 17.861,11.155 17.861,11.542V16.403Z" | ||
android:fillColor="#ffffff"/> | ||
<path | ||
android:pathData="M13,11.056C12.423,11.056 11.859,11.227 11.38,11.547C10.9,11.868 10.526,12.323 10.305,12.856C10.085,13.389 10.027,13.976 10.139,14.541C10.252,15.107 10.53,15.627 10.938,16.035C11.346,16.443 11.865,16.72 12.431,16.833C12.997,16.945 13.583,16.888 14.116,16.667C14.649,16.446 15.105,16.072 15.425,15.593C15.746,15.113 15.917,14.549 15.917,13.972C15.916,13.199 15.608,12.458 15.062,11.911C14.515,11.364 13.773,11.056 13,11.056ZM13,15.917C12.616,15.917 12.24,15.803 11.92,15.589C11.6,15.375 11.351,15.072 11.204,14.716C11.056,14.361 11.018,13.97 11.093,13.593C11.168,13.216 11.353,12.869 11.625,12.597C11.897,12.325 12.243,12.14 12.621,12.065C12.998,11.99 13.389,12.029 13.744,12.176C14.099,12.323 14.403,12.572 14.617,12.892C14.83,13.212 14.944,13.588 14.944,13.972C14.944,14.488 14.74,14.983 14.375,15.347C14.01,15.712 13.516,15.917 13,15.917Z" | ||
android:fillColor="#ffffff"/> | ||
</group> | ||
</vector> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools"> | ||
|
||
<data> | ||
|
||
<variable | ||
name="imageUri" | ||
type="String" /> | ||
</data> | ||
|
||
|
||
<FrameLayout | ||
android:layout_width="65dp" | ||
android:layout_height="65dp"> | ||
|
||
<de.hdodenhof.circleimageview.CircleImageView | ||
android:id="@+id/main_iv" | ||
photoUrl="@{imageUri}" | ||
android:layout_width="60dp" | ||
android:layout_height="60dp" | ||
app:civ_border_overlay="false" | ||
tools:src="@drawable/img_person" /> | ||
|
||
<ImageView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="bottom|end" | ||
android:src="@drawable/img_camera" /> | ||
|
||
</FrameLayout> | ||
|
||
</layout> |
This file contains 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,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<TextView | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:padding="16dp" | ||
android:ellipsize="end" | ||
android:maxLines="1" | ||
android:textAppearance="?attr/textAppearanceSubtitle1" | ||
android:textSize="17sp" | ||
/> |
This file contains 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
5 changes: 5 additions & 0 deletions
5
common/src/main/java/com/nocapstone/common/util/BuddyBreed.kt
This file contains 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,5 @@ | ||
package com.nocapstone.common.util | ||
|
||
class BuddyBreed { | ||
|
||
} |
This file contains 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,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string-array name="DogBreed"> | ||
<item>개 종류1</item> | ||
<item>개 종류2</item> | ||
<item>개 종류3</item> | ||
<item>개 종류4</item> | ||
<item>개 종류5</item> | ||
<item>개 종류6</item> | ||
<item>개 종류7</item> | ||
<item>개 종류8</item> | ||
<item>개 종류9</item> | ||
</string-array> | ||
|
||
<string-array name="CatBreed"> | ||
<item>고양이 종류1</item> | ||
<item>고양이 종류2</item> | ||
<item>고양이 종류3</item> | ||
<item>고양이 종류4</item> | ||
<item>고양이 종류5</item> | ||
<item>고양이 종류6</item> | ||
<item>고양이 종류7</item> | ||
<item>고양이 종류8</item> | ||
<item>고양이 종류9</item> | ||
</string-array> | ||
|
||
|
||
</resources> |
This file contains 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
This file contains 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
This file contains 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
11 changes: 11 additions & 0 deletions
11
onboarding/src/main/java/com/nocapstone/onboarding/domain/BuddyRequest.kt
This file contains 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,11 @@ | ||
package com.nocapstone.onboarding.domain | ||
|
||
data class BuddyRequest( | ||
val kind : String, | ||
var name : String = "name", | ||
var bread : String = "bread", | ||
var birthDay : String = "birthday", | ||
var adoptDay : String = "adoptDay", | ||
var isNeutered : Boolean = false, | ||
var gender : String = "gender" | ||
) |
36 changes: 0 additions & 36 deletions
36
onboarding/src/main/java/com/nocapstone/onboarding/ui/InputBuddyInfoFragment.kt
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
onboarding/src/main/java/com/nocapstone/onboarding/ui/InputBuddyTypeFragment.kt
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
onboarding/src/main/java/com/nocapstone/onboarding/ui/InputBuddyViewPagerFragment.kt
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.