Skip to content

Commit

Permalink
[style] #234 Modify note view
Browse files Browse the repository at this point in the history
  • Loading branch information
Haeeul committed Oct 29, 2022
1 parent b38d2bc commit 10a36da
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 20 deletions.
Binary file removed app/src/main/res/drawable-hdpi/note_star_inactive.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-mdpi/note_star_inactive.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
42 changes: 22 additions & 20 deletions app/src/main/res/layout/activity_note.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,26 @@
android:layout_marginTop="24dp"
android:fontFamily="@font/nanummyeongjo_bold"
android:includeFontPadding="false"
android:text="ํ–ฅ์— ๋Œ€ํ•œ ๊ธฐ๋ก."
android:text="ํ–ฅ์šธ ์ž์œ ๋กญ๊ฒŒ ํ‘œํ˜„ํ•ด๋ณด์„ธ์š”."
android:textColor="@color/primary_black"
android:textSize="14dp"
app:layout_constraintStart_toStartOf="@+id/imageView19"
app:layout_constraintTop_toBottomOf="@+id/imageView19" />

<TextView
android:id="@+id/textView24"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:fontFamily="@font/nanummyeongjo"
android:includeFontPadding="false"
android:text="(ํ•„์ˆ˜ ์‚ฌํ•ญ)"
android:textColor="@color/primary_black"
android:textSize="11dp"
app:layout_constraintBottom_toBottomOf="@+id/textView22"
app:layout_constraintStart_toEndOf="@+id/textView22"
app:layout_constraintTop_toTopOf="@+id/textView22" />

<EditText
android:id="@+id/imageView20"
setNoteContentsText="@={viewModel.contentsTxt}"
Expand All @@ -213,7 +227,7 @@
android:layout_marginEnd="18dp"
android:fontFamily="@font/notosans_regular"
android:gravity="top"
android:hint="ํ–ฅ์„ ์ž์œ ๋กญ๊ฒŒ ํ‘œํ˜„ํ•ด๋ณด์„ธ์š”.\n\n"
android:hint="@string/text_note_hint"
android:includeFontPadding="false"
android:maxLines="10"
android:paddingHorizontal="18dp"
Expand Down Expand Up @@ -244,7 +258,7 @@
android:layout_marginTop="26dp"
android:fontFamily="@font/nanummyeongjo_bold"
android:includeFontPadding="false"
android:text="ํ–ฅ์— ๋Œ€ํ•œ ํ‚ค์›Œ๋“œ."
android:text="ํ–ฅ์„ ๋งก์•˜์„ ๋•Œ ์–ด๋–ค ๋‹จ์–ด๊ฐ€ ๋– ์˜ค๋ฅด๋‚˜์š”?"
android:textColor="@color/primary_black"
android:textSize="14dp"
app:layout_constraintStart_toStartOf="@+id/imageView21"
Expand Down Expand Up @@ -316,25 +330,13 @@
android:layout_marginTop="24dp"
android:fontFamily="@font/nanummyeongjo_bold"
android:includeFontPadding="false"
android:text="์ง€์†๋ ฅ."
android:text="ํ–ฅ์ด ์–ผ๋งˆ๋‚˜ ์ง€์†๋˜๋‚˜์š”?"
android:textColor="@color/primary_black"
android:textSize="14dp"
app:layout_constraintStart_toStartOf="@+id/imageView53"
app:layout_constraintTop_toBottomOf="@+id/imageView53" />

<TextView
android:id="@+id/textView24"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:fontFamily="@font/nanummyeongjo"
android:includeFontPadding="false"
android:text="(ํ•„์ˆ˜ ์‚ฌํ•ญ)"
android:textColor="@color/primary_black"
android:textSize="11dp"
app:layout_constraintBottom_toBottomOf="@+id/textView22"
app:layout_constraintStart_toEndOf="@+id/textView22"
app:layout_constraintTop_toTopOf="@+id/textView22" />


<ImageView
android:id="@+id/imageView22"
Expand Down Expand Up @@ -456,7 +458,7 @@
android:layout_marginTop="52dp"
android:fontFamily="@font/nanummyeongjo_bold"
android:includeFontPadding="false"
android:text="์ž”ํ–ฅ๊ฐ."
android:text="์ž”ํ–ฅ์˜ ๋Š๋‚Œ์ด ์–ด๋–ค๊ฐ€์š”?"
android:textColor="@color/primary_black"
android:textSize="14dp"
app:layout_constraintStart_toStartOf="@+id/textView23"
Expand Down Expand Up @@ -564,7 +566,7 @@
android:layout_marginTop="27dp"
android:fontFamily="@font/nanummyeongjo_bold"
android:includeFontPadding="false"
android:text="๊ณ„์ ˆ๊ฐ"
android:text="์–ด๋Š ๊ณ„์ ˆ์— ๋ฟŒ๋ฆฌ๊ณ  ์‹ถ๋‚˜์š”?"
android:textColor="@color/primary_black"
android:textSize="14dp"
app:layout_constraintStart_toStartOf="@+id/textView29"
Expand Down Expand Up @@ -659,7 +661,7 @@
android:layout_marginTop="37dp"
android:fontFamily="@font/nanummyeongjo_bold"
android:includeFontPadding="false"
android:text="์„ฑ๋ณ„"
android:text="๋ˆ„๊ฐ€ ๋ฟŒ๋ฆฌ๋ฉด ์ข‹์„๊นŒ์š”?"
android:textColor="@color/primary_black"
android:textSize="14dp"
app:layout_constraintStart_toStartOf="@+id/textView34"
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
<!--perfume detail -->
<string name="chartPercentFormat" formatted="false">%d%%</string>

<!--note-->
<string name="text_note_hint">ํ–ฅ์„ ๋งก๊ณ  ์–ด๋–ค ์ƒ๊ฐ์ด ๋– ์˜ฌ๋ž๋‚˜์š”?\n์ข‹์€์ง€ ๋‚˜์œ์ง€, ์–ด๋–ค ๋Š๋‚Œ์ธ์ง€, ๋– ์˜ค๋ฅธ ๋‹จ์–ด ๋“ฑ\n์ž์œ ๋กญ๊ฒŒ ์ž‘์„ฑํ•ด๋ณด์„ธ์š”.</string>

<!--my -->
<string name="txt_my_perfume_null">์•„์ง ์‹œํ–ฅ ๋…ธํŠธ๊ฐ€ ๋น„์–ด ์žˆ์–ด์š”.\n๊ทธ๋™์•ˆ ์‚ฌ์šฉํ–ˆ๋˜ ํ–ฅ์ˆ˜\nํ˜น์€ ์‹œํ–ฅํ•ด๋ดค๋˜ ํ–ฅ์ˆ˜๋ฅผ\n๊ธฐ๋กํ•ด๋ณด์„ธ์š”.</string>
<string name="txt_wish_list_null">์•„์ง ์‹œํ–ฅํ•ด๋ณด๊ณ  ์‹ถ์€ ํ–ฅ์ˆ˜๊ฐ€ ์—†๊ตฐ์š”!\nํ‰์†Œ์— ๊ด€์‹ฌ ์žˆ์—ˆ๋˜ ํ–ฅ์ˆ˜๋ฅผ\n์œ„์‹œ๋ฆฌ์ŠคํŠธ์— ์ถ”๊ฐ€ํ•ด๋ณด์„ธ์š”!</string>
Expand Down

0 comments on commit 10a36da

Please sign in to comment.