From 86340caf9d0ac76cbf97e3a4025225aa3f359275 Mon Sep 17 00:00:00 2001 From: ScreenTinker Date: Mon, 8 Jun 2026 19:46:30 -0500 Subject: [PATCH] fix(android): keep pairing code fully on-screen (was clipped at bottom) Follow-up to the provisioning layout fix - on a Pixel the code's bottom half was cut off. Tightened the screen so the whole block fits: - "RemoteDisplay" title 36sp -> 22sp, smaller subtitle + margins. - Anchor content to the top (gravity center_horizontal|top) so the code sits high instead of being pushed below the fold by vertical centering. - Pairing code autosize cap 96sp -> 56sp + vertical padding, so tall digits aren't clipped and the block stays on screen on short/landscape phones. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../main/res/layout/activity_provisioning.xml | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/android/app/src/main/res/layout/activity_provisioning.xml b/android/app/src/main/res/layout/activity_provisioning.xml index cf44d29..9ff7d44 100644 --- a/android/app/src/main/res/layout/activity_provisioning.xml +++ b/android/app/src/main/res/layout/activity_provisioning.xml @@ -12,9 +12,11 @@ + android:layout_marginBottom="4dp" /> + android:textSize="14sp" + android:layout_marginBottom="20dp" /> - +