Skip to content

Commit

Permalink
#14 / 미션 카테고리 설명 뷰 그리기
Browse files Browse the repository at this point in the history
  • Loading branch information
l2zh authored and taeheeL committed Jul 13, 2023
1 parent 710fe2b commit 047a893
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 27 deletions.
13 changes: 9 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@
android:usesCleartextTraffic="true"
tools:targetApi="31">

<!-- <activity-->
<!-- android:name=".presentation.SubHistoryActivity"-->
<!-- android:exported="false" />-->
<!-- <activity-->
<!-- android:name=".presentation.MainHistoryActivity"-->
<!-- android:exported="false" />-->
<activity
android:name=".presentation.SplashActivity"
android:name=".presentation.MainActivity"
android:exported="true"
android:screenOrientation="portrait">

Expand All @@ -37,10 +43,9 @@
android:scheme="${KAKAO_APP_KEY}" />
</intent-filter>
</activity>

<activity
android:name=".presentation.MainActivity"
android:exported="false"
android:name=".presentation.MissionDetailCreateActivity"
android:exported="true"
android:screenOrientation="portrait" />


Expand Down
52 changes: 29 additions & 23 deletions app/src/main/res/layout/activity_mission_detail_record.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@
android:id="@+id/mission_detail_record_back"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginVertical="8dp"
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_record_tiltle"
style="@style/Title1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:text="@string/mission_detatil_record_title"
android:textColor="@color/Gray_600"
android:text="미션 카테고리 설명"
android:textAppearance="@style/Title1"
app:layout_constraintBottom_toBottomOf="@+id/mission_detail_record_back"
app:layout_constraintStart_toEndOf="@id/mission_detail_record_back"
app:layout_constraintTop_toTopOf="@+id/mission_detail_record_back" />
Expand All @@ -58,7 +58,7 @@

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical">

<ImageView
Expand All @@ -73,77 +73,83 @@

<TextView
android:id="@+id/mission_detail_record_subtitle"
style="@style/Subtitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:text="@string/mission_detatil_record_game_title"
android:textColor="@color/Gray_600"
android:text="내 연인의 모든것"
android:textAppearance="@style/Subtitle"
app:layout_constraintStart_toEndOf="@+id/mission_detail_record_image"
app:layout_constraintTop_toTopOf="parent" />

<TextView
android:id="@+id/mission_detail_record_description"
style="@style/Body2"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="12dp"
android:text="@string/mission_detatil_record_game_description"
android:layout_marginEnd="16dp"
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_record_image"
app:layout_constraintTop_toBottomOf="@+id/mission_detail_record_subtitle" />

<TextView
android:id="@+id/mission_detail_record_rule_title"
style="@style/Subtitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="32dp"
android:text="@string/mission_detatil_record_rule_title"
android:textColor="@color/Gray_600"
android:text="룰 소개"
android:textAppearance="@style/Subtitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/mission_detail_record_image" />


<TextView
android:id="@+id/mission_detail_record_ruletext"
style="@style/Body2_long"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:background="@drawable/bg_mission_detail_textbox"
android:lineSpacingExtra="10dp"
android:paddingHorizontal="12dp"
android:paddingVertical="12dp"
android:text="@string/mission_detatil_record_rule_description"
android:textColor="@color/Gray_600"
android:text=" 1. 본인에게 할당된 주제의 답변을 상대방이 맞춰야하는 게임입니다.
2. 단순 주제가 나와있는 미션이라면, 상대의 입장에서 해당 주제에 대한 답을 해주세요.
3. 2지선다로 이루어진 미션이라면, 상대가 어떤 선지를 더 좋아할지에 대해 예상하여 답을 해주세요."
android:textAppearance="@style/Body2_long"
app:layout_constraintEnd_toEndOf="@+id/mission_detail_record_description"
app:layout_constraintStart_toStartOf="@+id/mission_detail_record_rule_title"
app:layout_constraintTop_toBottomOf="@+id/mission_detail_record_rule_title" />


<TextView
android:id="@+id/mission_detail_record_tiptitle"
style="@style/Subtitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="32dp"
android:text="@string/mission_detatil_record_tip_title"
android:textColor="@color/Gray_600"
android:text="공략 팁"
android:textAppearance="@style/Subtitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/mission_detail_record_ruletext" />


<TextView
android:id="@+id/mission_detail_record_tiptext"
style="@style/Body2_long"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:background="@drawable/bg_mission_detail_textbox"
android:lineSpacingExtra="10dp"
android:paddingHorizontal="12dp"
android:paddingVertical="12dp"
android:text="@string/mission_detatil_record_tip_description"
android:textColor="@color/Gray_600"
android:text=" • 평소에 하나씩 연인에 대한 셀프 100문 100답을 해보세요!"
android:textAppearance="@style/Body2_long"
app:layout_constraintEnd_toEndOf="@+id/mission_detail_record_ruletext"
app:layout_constraintStart_toStartOf="@+id/mission_detail_record_tiptitle"
app:layout_constraintTop_toBottomOf="@+id/mission_detail_record_tiptitle" />
Expand Down

0 comments on commit 047a893

Please sign in to comment.