From 271e20f1318ce7af7d131d241247262741167904 Mon Sep 17 00:00:00 2001 From: jjangddu Date: Wed, 17 Jun 2026 16:09:21 +0900 Subject: [PATCH] =?UTF-8?q?ux:=20Sensor=20Alignment=20=EB=B9=88=20?= =?UTF-8?q?=EA=B3=B5=EA=B0=84=205=EB=93=B1=EB=B6=84=20(Title=E2=86=94Hint1?= =?UTF-8?q?,=20=EC=9D=BC=EB=9F=AC=EC=8A=A4=ED=8A=B8=E2=86=94Step=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 기존 3-spacer 분배에서 2개 더 추가 → 5등분 균등 분배: 1) Title(top bar) ↔ Hint 1 ← 신규 2) Hint 1 ↔ 일러스트 3) 일러스트 ↔ Step 1/3 ← 신규 (Spacer 8dp → weight 1f) 4) Step/Hint 2 ↔ Start Alignment 버튼 5) Skip ↔ 화면 하단 결과: 화면 위/아래 어느 쪽에도 빈 공간 쏠림 없음. 인접 요소간 fixed gap (Hint 1 위 padding 등) 은 그대로 유지. Co-Authored-By: Claude Opus 4.7 --- .../ui/views/monitoring/PlacementGuideView.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 81d1436..01a5b26 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 @@ -234,6 +234,9 @@ fun PlacementGuideView(appState: AppState) { .padding(horizontal = 24.dp), horizontalAlignment = Alignment.CenterHorizontally ) { + // Title(top bar) ↔ Hint 1 사이 — 첫 weight spacer (위쪽 빈 공간 균등 분배). + Spacer(modifier = Modifier.weight(1f)) + // ─── (1) Hint 1 — waitingForStart 일 때만 렌더 (빈 칸 자체 숨김) ─── if (waitingForStart) { val hint1Bg = Color(0xFFFFF3E0) @@ -446,7 +449,8 @@ fun PlacementGuideView(appState: AppState) { } } - Spacer(modifier = Modifier.height(8.dp)) + // 일러스트 ↔ Step indicator 사이 — weight spacer. + Spacer(modifier = Modifier.weight(1f)) // ─── (3) Step indicator — 일러스트 아래로 이동 ─── Row(