-
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.
- Loading branch information
Showing
8 changed files
with
441 additions
and
4 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
12 changes: 12 additions & 0 deletions
12
app/src/main/java/sopt/uni/presentation/MissionDetailCreateActivity.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,12 @@ | ||
package sopt.uni.presentation | ||
|
||
import androidx.appcompat.app.AppCompatActivity | ||
import android.os.Bundle | ||
import sopt.uni.R | ||
|
||
class MissionDetailCreateActivity : AppCompatActivity() { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
setContentView(R.layout.activity_mission_detail_create) | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
app/src/main/java/sopt/uni/presentation/MissionDetailRecordActivity.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,12 @@ | ||
package sopt.uni.presentation | ||
|
||
import androidx.appcompat.app.AppCompatActivity | ||
import android.os.Bundle | ||
import sopt.uni.R | ||
|
||
class MissionDetailRecordActivity : AppCompatActivity() { | ||
override fun onCreate(savedInstanceState: Bundle?) { | ||
super.onCreate(savedInstanceState) | ||
setContentView(R.layout.activity_mission_detail_record) | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
app/src/main/res/drawable/bg_mission_detail_button_rounded.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,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<solid android:color="@color/Lightblue_500" /> | ||
<corners android:radius="10dp" /> | ||
</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,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<solid | ||
android:color="@color/Gray_000" /> | ||
|
||
<corners | ||
android:radius="10dp" /> | ||
|
||
</shape> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
233 changes: 233 additions & 0 deletions
233
app/src/main/res/layout/activity_mission_detail_create.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,233 @@ | ||
<?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" | ||
android:background="@color/Gray_100" | ||
tools:context=".presentation.MissionDetailCreateActivity"> | ||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:id="@+id/layout_mission_detail_create_app_bar" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent"> | ||
|
||
<ImageView | ||
android:id="@+id/mission_detail_create_back" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="8dp" | ||
android:layout_marginTop="8dp" | ||
android:layout_marginBottom="8dp" | ||
android:src="@drawable/ic_backarrow" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_tiltle" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:text="미션 카테고리 설명" | ||
android:textAppearance="@style/Title1" | ||
app:layout_constraintBottom_toBottomOf="@+id/mission_detail_create_back" | ||
app:layout_constraintStart_toEndOf="@id/mission_detail_create_back" | ||
app:layout_constraintTop_toTopOf="@+id/mission_detail_create_back" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
|
||
<ScrollView | ||
android:id="@+id/mission_detail_create_scrollview" | ||
android:layout_width="match_parent" | ||
android:layout_height="0dp" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/layout_mission_detail_create_app_bar"> | ||
|
||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical"> | ||
|
||
<ImageView | ||
android:id="@+id/mission_detail_create_image" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:layout_marginTop="16dp" | ||
android:src="@drawable/imagecard_android" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_subtitle" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:layout_marginTop="16dp" | ||
android:text="내 연인의 모든것" | ||
android:textAppearance="@style/Subtitle" | ||
app:layout_constraintStart_toEndOf="@+id/mission_detail_create_image" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<TextView | ||
android:layout_marginEnd="16dp" | ||
android:id="@+id/mission_detail_create_description" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:layout_marginTop="12dp" | ||
android:lineSpacingExtra="6dp" | ||
android:text="상대의 취향, 신체 사이즈 등 제시된 주제에 대한 답을 맞추며 서로를 알아가는 게임" | ||
android:textAppearance="@style/Body2" | ||
android:textColor="@color/Gray_350" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toEndOf="@+id/mission_detail_create_image" | ||
app:layout_constraintTop_toBottomOf="@+id/mission_detail_create_subtitle" /> | ||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_rule_title" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:layout_marginTop="32dp" | ||
android:text="룰 소개" | ||
android:textAppearance="@style/Subtitle" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/mission_detail_create_image" /> | ||
|
||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_ruletext" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginHorizontal="16dp" | ||
android:layout_marginTop="16dp" | ||
android:background="@drawable/bg_mission_detail_textbox" | ||
android:lineSpacingExtra="10dp" | ||
android:paddingHorizontal="12dp" | ||
android:paddingVertical="12dp" | ||
android:text=" 1. 본인에게 할당된 주제의 답변을 상대방이 맞춰야하는 게임입니다. | ||
2. 단순 주제가 나와있는 미션이라면, 상대의 입장에서 해당 주제에 대한 답을 해주세요. | ||
3. 2지선다로 이루어진 미션이라면, 상대가 어떤 선지를 더 좋아할지에 대해 예상하여 답을 해주세요." | ||
android:textAppearance="@style/Body2_long" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/mission_detail_create_rule_title" /> | ||
|
||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_tiptitle" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:layout_marginTop="32dp" | ||
android:text="공략 팁" | ||
android:textAppearance="@style/Subtitle" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/mission_detail_create_ruletext" /> | ||
|
||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_tiptext" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginHorizontal="16dp" | ||
android:layout_marginTop="16dp" | ||
android:background="@drawable/bg_mission_detail_textbox" | ||
android:lineSpacingExtra="10dp" | ||
android:paddingHorizontal="12dp" | ||
android:paddingVertical="12dp" | ||
android:text=" • 평소에 하나씩 연인에 대한 셀프 100문 100답을 해보세요!" | ||
android:textAppearance="@style/Body2_long" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/mission_detail_create_tiptitle" /> | ||
|
||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_mission_example" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="16dp" | ||
android:layout_marginTop="32dp" | ||
android:text="미션 예시" | ||
android:textAppearance="@style/Subtitle" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/mission_detail_create_tiptext" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/mission_detail_create_mission_example_linearlayout" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginHorizontal="16dp" | ||
android:layout_marginTop="16dp" | ||
android:orientation="horizontal" | ||
app:layout_constraintTop_toBottomOf="@+id/mission_detail_create_mission_example" | ||
tools:layout_editor_absoluteX="16dp"> | ||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_mission_example_1" | ||
android:layout_width="0dp" | ||
android:layout_height="match_parent" | ||
android:layout_marginBottom="16dp" | ||
android:layout_weight="1" | ||
android:background="@drawable/bg_mission_detail_textbox" | ||
android:lineSpacingExtra="6dp" | ||
android:paddingHorizontal="20dp" | ||
android:paddingVertical="20dp" | ||
android:text="시력" | ||
android:textAppearance="@style/Btn2" /> | ||
|
||
<Space | ||
android:layout_width="8dp" | ||
android:layout_height="match_parent" /> | ||
|
||
<TextView | ||
android:id="@+id/mission_detail_create_mission_example_2" | ||
android:layout_width="0dp" | ||
android:layout_height="match_parent" | ||
android:layout_marginBottom="16dp" | ||
android:layout_weight="1" | ||
android:background="@drawable/bg_mission_detail_textbox" | ||
android:lineSpacingExtra="6dp" | ||
android:paddingHorizontal="20dp" | ||
android:paddingVertical="20dp" | ||
android:text="아메리카노 vs \n카페라떼" | ||
android:textAppearance="@style/Btn2" /> | ||
</LinearLayout> | ||
|
||
<android.widget.Button | ||
android:id="@+id/mission_detail_create_mission_btn_pick" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginHorizontal="16dp" | ||
android:layout_marginVertical="16dp" | ||
android:background="@drawable/bg_mission_detail_button_rounded" | ||
android:fontFamily="@font/pretendard_semibold" | ||
android:paddingVertical="12dp" | ||
android:text="선택하기" | ||
android:textAppearance="@style/Btn1" | ||
android:textColor="@color/Gray_000" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/mission_detail_create_mission_example_linearlayout" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
|
||
</ScrollView> | ||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
</layout> |
Oops, something went wrong.