-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEP-362 feat: 첫 회원가입 시 회원가입완료화면으로 유도 (#176)
- Loading branch information
Showing
13 changed files
with
196 additions
and
26 deletions.
There are no files selected for viewing
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
44 changes: 44 additions & 0 deletions
44
core-design-system/src/main/res/drawable/ic_signup_complete.xml
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,44 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="160dp" | ||
android:height="160dp" | ||
android:viewportWidth="160" | ||
android:viewportHeight="160"> | ||
<path | ||
android:pathData="M105.59,88.36C105.71,88.19 105.97,88.2 106.08,88.38L109.04,93.57L113.93,91.21C114.16,91.1 114.41,91.32 114.33,91.56L113.18,94.87L118.31,94.68C118.59,94.67 118.72,95.01 118.5,95.19L113.78,99.04L117.06,102.79C117.23,102.98 117.09,103.27 116.84,103.26L112.71,103.11L113.39,108.17C113.43,108.43 113.12,108.6 112.92,108.43L106.88,103.34L101.16,106.69C100.98,106.8 100.75,106.68 100.73,106.48L100.27,102.21L92.84,103.87C92.56,103.93 92.37,103.58 92.58,103.38L97.92,98.42L93.12,94.99C92.88,94.82 93.01,94.45 93.3,94.47L98.68,94.76L94.9,87.22C94.76,86.95 95.09,86.68 95.33,86.87L102.6,92.63L105.59,88.36Z" | ||
android:fillColor="#34C185"/> | ||
<path | ||
android:pathData="M123.5,24.62C123.56,24.27 123.96,24.1 124.25,24.3L132.52,29.91L138.14,22.78C138.4,22.44 138.94,22.59 138.99,23.02L139.7,28.84L147.28,24.79C147.68,24.57 148.14,24.99 147.94,25.41L143.67,34.68L151.35,37.9C151.74,38.06 151.75,38.61 151.36,38.78L145.04,41.59L149.79,48.7C150.03,49.06 149.69,49.54 149.27,49.43L136.43,46.21L130.3,55.45C130.11,55.75 129.68,55.74 129.49,55.44L125.67,49.36L115.71,57.31C115.33,57.62 114.79,57.22 114.96,56.77L119.35,45.38L109.61,43.75C109.13,43.67 109.06,43.02 109.5,42.83L117.81,39.32L106.58,30.76C106.17,30.45 106.47,29.8 106.98,29.91L122.14,33.24L123.5,24.62Z" | ||
android:fillColor="#34C185"/> | ||
<path | ||
android:pathData="M89.61,55.77m-5.55,0a5.55,5.55 0,1 1,11.1 0a5.55,5.55 0,1 1,-11.1 0" | ||
android:fillColor="#3F80FF"/> | ||
<path | ||
android:pathData="M18.55,30.55m-5.55,0a5.55,5.55 0,1 1,11.1 0a5.55,5.55 0,1 1,-11.1 0" | ||
android:fillColor="#3F80FF"/> | ||
<path | ||
android:pathData="M48.9,36L37.85,40.4L46.79,53L57.85,48.6L48.9,36Z" | ||
android:fillColor="#FED130"/> | ||
<path | ||
android:pathData="M76.02,24L67.85,15.79L80.67,8L88.85,16.21L76.02,24Z" | ||
android:fillColor="#FE88E4"/> | ||
<path | ||
android:pathData="M67.42,99.06L56.12,96.52L62.77,83.06L74.07,85.61L67.42,99.06Z" | ||
android:fillColor="#FE88E4"/> | ||
<path | ||
android:pathData="M153.61,86L141.85,85.53L138.08,70.53L149.85,71L153.61,86Z" | ||
android:fillColor="#FF4D4D"/> | ||
<path | ||
android:pathData="M111.67,152L119.85,143.79L107.02,136L98.85,144.21L111.67,152Z" | ||
android:fillColor="#FED130"/> | ||
<path | ||
android:pathData="M41.77,72.4L7,152.43L88.69,119.32L41.77,72.4Z" | ||
android:fillColor="#E1EBFF"/> | ||
<path | ||
android:pathData="M82.45,121.85L32.75,93.16L26.55,107.44L64.27,129.22L82.45,121.85Z" | ||
android:fillColor="#3F80FF" | ||
android:fillType="evenOdd"/> | ||
<path | ||
android:pathData="M49.85,135.06L21.63,118.77L15.42,133.05L31.67,142.43L49.85,135.06Z" | ||
android:fillColor="#3F80FF" | ||
android:fillType="evenOdd"/> | ||
</vector> |
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
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
3 changes: 3 additions & 0 deletions
3
domain/src/main/java/com/depromeet/threedays/domain/key/Code.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,3 @@ | ||
package com.depromeet.threedays.domain.key | ||
|
||
const val RESOURCE_CREATE = "resource.created" |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
</manifest> |
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
30 changes: 30 additions & 0 deletions
30
...on/signup/src/main/java/com/depromeet/threedays/signup/complete/SignupCompleteActivity.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,30 @@ | ||
package com.depromeet.threedays.signup.complete | ||
|
||
import android.os.Bundle | ||
import com.depromeet.threedays.core.BaseActivity | ||
import com.depromeet.threedays.core.util.setOnSingleClickListener | ||
import com.depromeet.threedays.navigator.HomeNavigator | ||
import com.depromeet.threedays.signup.R | ||
import com.depromeet.threedays.signup.databinding.ActivitySignupCompleteBinding | ||
import dagger.hilt.android.AndroidEntryPoint | ||
import javax.inject.Inject | ||
|
||
@AndroidEntryPoint | ||
class SignupCompleteActivity : BaseActivity<ActivitySignupCompleteBinding>(R.layout.activity_signup_complete) { | ||
|
||
@Inject | ||
lateinit var homeNavigator: HomeNavigator | ||
|
||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
initView() | ||
} | ||
|
||
private fun initView() { | ||
binding.tvCheck.setOnSingleClickListener { | ||
val intent = homeNavigator.intent(this) | ||
startActivity(intent) | ||
finish() | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
presentation/signup/src/main/res/layout/activity_signup_complete.xml
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,53 @@ | ||
<?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> | ||
|
||
</data> | ||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
tools:context=".complete.SignupCompleteActivity" | ||
tools:ignore="ContentDescription"> | ||
|
||
<ImageView | ||
android:id="@+id/iv_signup_complete" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="170dp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:srcCompat="@drawable/ic_signup_complete" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_signup_complete" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="24dp" | ||
android:text="@string/signup_complete" | ||
android:textAppearance="@style/Typography.Heading" | ||
app:layout_constraintEnd_toEndOf="@+id/iv_signup_complete" | ||
app:layout_constraintStart_toStartOf="@+id/iv_signup_complete" | ||
app:layout_constraintTop_toBottomOf="@+id/iv_signup_complete" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_check" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginHorizontal="20dp" | ||
android:layout_marginBottom="30dp" | ||
android:background="@drawable/bg_rect_gray800_r15" | ||
android:gravity="center" | ||
android:paddingVertical="18dp" | ||
android:text="@string/check" | ||
android:textAppearance="@style/Typography.Button1" | ||
android:textColor="@color/white" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" /> | ||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
</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