Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
๐Ÿ–๏ธ ์•ฑ ์ด์šฉ ๊ฐ€์ด๋“œ ์ถ”๊ฐ€ (#106)
Browse files Browse the repository at this point in the history
* [feat] ์ด์šฉ ๊ฐ€์ด๋“œ view

* [feat] ์ด์šฉ๊ฐ€์ด๋“œ ์™ธ๋ถ€๋งํฌ ์—ฐ๊ฒฐ
  • Loading branch information
HamBeomJoon authored Aug 15, 2024
1 parent 66b2eb5 commit 404a8b4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ class MyPageFragment : BaseFragment<FragmentMypageBinding>(R.layout.fragment_myp
pdfPickerLauncher.launch(intent)
}

binding.btnAppGuide.setOnClickListener {
val url = "https://humane-bucket-09b.notion.site/92da63ef98a64d219100e299c4614908"
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
startActivity(intent)
}

binding.btnWithdraw.setOnClickListener {
val withdrawDialog = CustomDialog.getInstance(CustomDialog.DialogType.UNLINK, nickname)

Expand Down
21 changes: 20 additions & 1 deletion Nabi/presentation/src/main/res/layout/fragment_mypage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,25 @@
app:layout_constraintStart_toStartOf="@id/btn_change_nickname"
app:layout_constraintTop_toBottomOf="@id/btn_change_nickname" />

<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_app_guide"
style="@style/my_page_btn_bold_16px"
android:layout_width="0dp"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:background="@drawable/shape_radius_50"
android:backgroundTint="@color/primary"

android:fontFamily="@font/pretendard_medium"
android:text="@string/text_app_guide"
android:textColor="@color/white"
android:textSize="16sp"
android:textStyle="bold"

app:layout_constraintEnd_toEndOf="@id/btn_change_nickname"
app:layout_constraintStart_toStartOf="@id/btn_change_nickname"
app:layout_constraintTop_toBottomOf="@id/btn_load_diary" />

<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_withdraw"
style="@style/my_page_btn_bold_16px"
Expand All @@ -103,7 +122,7 @@

app:layout_constraintEnd_toEndOf="@id/btn_change_nickname"
app:layout_constraintStart_toStartOf="@id/btn_change_nickname"
app:layout_constraintTop_toBottomOf="@id/btn_load_diary" />
app:layout_constraintTop_toBottomOf="@id/btn_app_guide" />

<TextView
android:id="@+id/tv_email"
Expand Down
1 change: 1 addition & 0 deletions Nabi/presentation/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<!-- ๋งˆ์ดํŽ˜์ด์ง€ -->
<string name="text_change_nickname">๋‹‰๋„ค์ž„ ๋ณ€๊ฒฝํ•˜๊ธฐ</string>
<string name="text_load_diary">์ผ๊ธฐ ๊ฐ€์ ธ์˜ค๊ธฐ</string>
<string name="text_app_guide">์ด์šฉ ๊ฐ€์ด๋“œ</string>
<string name="text_withdraw">ํšŒ์› ํƒˆํ‡ด</string>
<string name="text_email">์ œ์ž‘์ž ์ด๋ฉ”์ผ\[email protected]</string>

Expand Down

0 comments on commit 404a8b4

Please sign in to comment.