From f2fb561b9a2d440f81465f3100569cad4c2e117a Mon Sep 17 00:00:00 2001 From: jjangddu Date: Wed, 17 Jun 2026 16:58:29 +0900 Subject: [PATCH] =?UTF-8?q?ux:=20Hint=20=EB=B0=95=EC=8A=A4=20=EB=B0=B0?= =?UTF-8?q?=EA=B2=BD=EB=8F=84=20=ED=85=8D=EC=8A=A4=ED=8A=B8=EC=99=80=20?= =?UTF-8?q?=ED=95=A8=EA=BB=98=20=EC=82=AC=EB=9D=BC=EC=A7=90=20(=EC=9E=90?= =?UTF-8?q?=EB=A6=AC=EB=A7=8C=20=EC=9C=A0=EC=A7=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 수정: Hint 1 / Hint 2 의 background 색을 조건부로 전환. - 텍스트 가시: 기존 색 (orange/green/teal) - 텍스트 비가시: Color.Transparent heightIn 으로 박스 공간(높이)은 그대로 유지 → 배경 카드만 사라지고 자리는 유지. Co-Authored-By: Claude Opus 4.7 --- .../ui/views/monitoring/PlacementGuideView.kt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/example/medilightv2android/ui/views/monitoring/PlacementGuideView.kt b/app/src/main/java/com/example/medilightv2android/ui/views/monitoring/PlacementGuideView.kt index 5b44941..1e57d40 100644 --- a/app/src/main/java/com/example/medilightv2android/ui/views/monitoring/PlacementGuideView.kt +++ b/app/src/main/java/com/example/medilightv2android/ui/views/monitoring/PlacementGuideView.kt @@ -257,7 +257,10 @@ fun PlacementGuideView(appState: AppState) { modifier = Modifier .fillMaxWidth() .heightIn(min = 96.dp) // 1.5× of current ~64dp natural height - .background(hint1Bg.copy(alpha = 0.7f), RoundedCornerShape(16.dp)) + .background( + if (waitingForStart) hint1Bg.copy(alpha = 0.7f) else Color.Transparent, + RoundedCornerShape(16.dp) + ) .padding(horizontal = 20.dp, vertical = 14.dp), contentAlignment = Alignment.Center ) { @@ -541,7 +544,10 @@ fun PlacementGuideView(appState: AppState) { modifier = Modifier .fillMaxWidth() .heightIn(min = 102.dp) // 1.5× of current ~68dp natural height - .background(hintBg.copy(alpha = 0.7f), RoundedCornerShape(16.dp)) + .background( + if (hint2Visible) hintBg.copy(alpha = 0.7f) else Color.Transparent, + RoundedCornerShape(16.dp) + ) .padding(horizontal = 20.dp, vertical = 14.dp), contentAlignment = Alignment.Center ) {