From 99c20820222a9857e2445721ce500b114264aabe Mon Sep 17 00:00:00 2001 From: klaus Date: Tue, 2 Jun 2026 19:34:48 +0900 Subject: [PATCH] =?UTF-8?q?docs(agent):=20clipping=20=EC=B2=98=EB=A6=AC=20?= =?UTF-8?q?=EA=B0=80=EC=9D=B4=EB=93=9C=EB=A5=BC=20=EC=B6=94=EA=B0=80?= =?UTF-8?q?=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/agent-guides/code-style.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/agent-guides/code-style.md b/docs/agent-guides/code-style.md index 361608a3..3131349d 100644 --- a/docs/agent-guides/code-style.md +++ b/docs/agent-guides/code-style.md @@ -28,6 +28,7 @@ - nullability와 제네릭 타입을 의미가 바뀌지 않게 유지한다. - 공개 API/스키마/리소스 계약은 요청 없이 변경하지 않는다. - UI 또는 로직 작성 시 미리 정의된 토큰(리소스)을 항상 먼저 사용하고, 토큰으로 표현되지 않는 나머지 값만 상황에 따라 하드코딩한다. +- XML View에서 radius clipping이 필요하면 `android:clipToOutline` XML 속성에 의존하지 말고, custom view의 Kotlin 코드에서 `clipToOutline = true`와 `ViewOutlineProvider.setRoundRect(...)`를 함께 설정한다. - 응답 처리 시 기존 `ApiResponse`와 Rx 타입(`Single`, `Flowable`)을 우선 재사용한다. - 빈 `catch` 블록을 새로 추가하지 않는다. - 예외를 조용히 삼키지 않고 로그/주석/대체 흐름 중 하나를 남긴다.