From 7a84a0a298b7dc72882a06591e941d9587b1d3fd Mon Sep 17 00:00:00 2001 From: hyojin425 Date: Thu, 17 Jul 2025 20:20:29 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[Feat]=20=EC=95=88=EB=93=9C=EB=A1=9C?= =?UTF-8?q?=EC=9D=B4=EB=93=9C=20weekly=20calender=20=EC=9C=84=EC=A0=AF=20m?= =?UTF-8?q?onth=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/ohmo/WeeklyCalendarWidgetProvider.kt | 5 ----- android/app/src/main/res/drawable/month_image.xml | 9 +++++++++ .../app/src/main/res/layout/widget_weekly_calendar.xml | 7 ++----- 3 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 android/app/src/main/res/drawable/month_image.xml diff --git a/android/app/src/main/kotlin/com/example/ohmo/WeeklyCalendarWidgetProvider.kt b/android/app/src/main/kotlin/com/example/ohmo/WeeklyCalendarWidgetProvider.kt index 2dccecc..8bf2750 100644 --- a/android/app/src/main/kotlin/com/example/ohmo/WeeklyCalendarWidgetProvider.kt +++ b/android/app/src/main/kotlin/com/example/ohmo/WeeklyCalendarWidgetProvider.kt @@ -49,11 +49,6 @@ class WeeklyCalendarWidgetProvider : AppWidgetProvider() { calendar.firstDayOfWeek = Calendar.SUNDAY // 주의 시작을 일요일로 설정 calendar.set(Calendar.DAY_OF_WEEK, calendar.firstDayOfWeek) - // 월 이름을 영문 약어로 표시 (예: Jan, Feb) - val monthFormat = SimpleDateFormat("MMM", Locale.getDefault()) - val monthName = monthFormat.format(calendar.time).uppercase(Locale.getDefault()) - views.setTextViewText(R.id.text_month, monthName) - val dateFormat = SimpleDateFormat("dd", Locale.getDefault()) // 날짜만 표시 (예: 01, 15) // 각 요일의 날짜를 TextView에 설정 diff --git a/android/app/src/main/res/drawable/month_image.xml b/android/app/src/main/res/drawable/month_image.xml new file mode 100644 index 0000000..5ff85a8 --- /dev/null +++ b/android/app/src/main/res/drawable/month_image.xml @@ -0,0 +1,9 @@ + + + diff --git a/android/app/src/main/res/layout/widget_weekly_calendar.xml b/android/app/src/main/res/layout/widget_weekly_calendar.xml index 9a4f3d7..3934180 100644 --- a/android/app/src/main/res/layout/widget_weekly_calendar.xml +++ b/android/app/src/main/res/layout/widget_weekly_calendar.xml @@ -6,14 +6,11 @@ android:padding="8dp" android:background="#FFFFFF"> - From c632d6705064d7206a0c24e57e32af1855da7783 Mon Sep 17 00:00:00 2001 From: hyojin425 Date: Thu, 17 Jul 2025 20:25:30 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[Fix]=20=EC=95=88=EB=93=9C=EB=A1=9C?= =?UTF-8?q?=EC=9D=B4=EB=93=9C=20=ED=88=AC=EB=91=90=20=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?=EB=AA=A8=EB=8B=AC=20=ED=99=94=EB=A9=B4=20radius=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/app/src/main/res/drawable/plus_modal_bg.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/res/drawable/plus_modal_bg.xml b/android/app/src/main/res/drawable/plus_modal_bg.xml index 398d739..fd46579 100644 --- a/android/app/src/main/res/drawable/plus_modal_bg.xml +++ b/android/app/src/main/res/drawable/plus_modal_bg.xml @@ -5,5 +5,5 @@ - + \ No newline at end of file