From 9bb8dcd881a4e3902ef1112f19b62bd7236bdb13 Mon Sep 17 00:00:00 2001 From: klaus Date: Wed, 13 Aug 2025 20:30:07 +0900 Subject: [PATCH] =?UTF-8?q?feat(chat-room-ui):=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=EC=9E=90=20=EB=A9=94=EC=8B=9C=EC=A7=80,=20AI=20=EB=A9=94?= =?UTF-8?q?=EC=8B=9C=EC=A7=80=20=EC=95=84=EC=9D=B4=ED=85=9C=20=EB=A0=88?= =?UTF-8?q?=EC=9D=B4=EC=95=84=EC=9B=83,=20=ED=83=80=EC=9D=B4=ED=95=91=20?= =?UTF-8?q?=EC=9D=B8=EB=94=94=EC=BC=80=EC=9D=B4=ED=84=B0=20=EC=95=84?= =?UTF-8?q?=EC=9D=B4=ED=85=9C=20=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20?= =?UTF-8?q?=EB=B0=8F=20=EC=95=A0=EB=8B=88=EB=A9=94=EC=9D=B4=EC=85=98=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit item_chat_user_message.xml - 오른쪽 정렬된 메시지 버블 구현 - 버블 왼쪽에 시간 텍스트(tv_time) 배치 - bg_chat_user_message 배경 및 패딩 적용 - 텍스트 접근성과 가독성 향상을 위한 속성 설정 item_chat_ai_message.xml - 왼쪽 정렬된 메시지, 프로필 이미지와 이름, 오른쪽 시간 표시 구조 구현 - 그룹화 대응을 위한 조건부 표시(View visibility) 구조 마련 - bg_chat_ai_message 배경과 가독성 개선 속성 적용 item_chat_typing_indicator.xml, typing_dots_animation.xml - AI 메시지와 동일한 좌측 정렬 구조에 3개 점 애니메이션 영역 구현 - 600ms alpha 애니메이션 반복으로 로딩 상태 시각화 - 추후 ViewHolder에서 점별 startOffset 설정을 통해 순차 반짝임 완성 예정 --- .../main/res/anim/typing_dots_animation.xml | 8 -- .../main/res/layout/item_chat_ai_message.xml | 98 ++++++++++++++++ .../res/layout/item_chat_typing_indicator.xml | 110 ++++++++++++++++++ .../res/layout/item_chat_user_message.xml | 63 ++++++++++ 4 files changed, 271 insertions(+), 8 deletions(-) create mode 100644 app/src/main/res/layout/item_chat_ai_message.xml create mode 100644 app/src/main/res/layout/item_chat_typing_indicator.xml create mode 100644 app/src/main/res/layout/item_chat_user_message.xml diff --git a/app/src/main/res/anim/typing_dots_animation.xml b/app/src/main/res/anim/typing_dots_animation.xml index 72c6c894..00135f3e 100644 --- a/app/src/main/res/anim/typing_dots_animation.xml +++ b/app/src/main/res/anim/typing_dots_animation.xml @@ -1,12 +1,4 @@ - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/item_chat_typing_indicator.xml b/app/src/main/res/layout/item_chat_typing_indicator.xml new file mode 100644 index 00000000..ee5e8421 --- /dev/null +++ b/app/src/main/res/layout/item_chat_typing_indicator.xml @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/item_chat_user_message.xml b/app/src/main/res/layout/item_chat_user_message.xml new file mode 100644 index 00000000..2e16d870 --- /dev/null +++ b/app/src/main/res/layout/item_chat_user_message.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + +