From e5cd0ce6bf65fff1bbbb5d8e12c4076da088ebe1 Mon Sep 17 00:00:00 2001 From: Agent Date: Tue, 24 Mar 2026 23:02:14 +0000 Subject: feat: add AnchorWatchHandler UI with Depth/Rode Out inputs and suggested radius - Add AnchorWatchState with calculateRecommendedWatchCircleRadius, which uses ScopeCalculator.watchCircleRadius (Pythagorean scope formula) and falls back to rode length when geometry is invalid - Add AnchorWatchHandler Fragment with EditText inputs for Depth (m) and Rode Out (m); updates suggested watch circle radius live via TextWatcher - Add fragment_anchor_watch.xml layout - Wire AnchorWatchHandler into bottom navigation (MainActivity + menu) - Add AnchorWatchStateTest covering valid geometry, short-rode fallback Co-Authored-By: Claude Sonnet 4.6 --- android-app/app/src/main/res/values/strings.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'android-app/app/src/main/res/values') diff --git a/android-app/app/src/main/res/values/strings.xml b/android-app/app/src/main/res/values/strings.xml index 499ba8d..756f5e3 100755 --- a/android-app/app/src/main/res/values/strings.xml +++ b/android-app/app/src/main/res/values/strings.xml @@ -58,4 +58,14 @@ %.0f °C %d%% Location is needed to show weather for your current position. + Anchor + Anchor Watch + Depth (m) + e.g. 5.0 + Rode Out (m) + e.g. 30.0 + Suggested Watch Radius + + %.1f m + Calculated from rode and depth using Pythagorean scope formula (2 m freeboard assumed) -- cgit v1.2.3 From e79b678877dd32f8fef70132031c0c50ab12eccd Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sun, 5 Apr 2026 07:46:01 +0000 Subject: feat(ui): update instrument sheet typography — weight 300, unit labels, forecast styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android-app/app/src/main/res/values/dimens.xml | 10 ++-- android-app/app/src/main/res/values/themes.xml | 70 +++++++++++++++++++++++--- 2 files changed, 69 insertions(+), 11 deletions(-) (limited to 'android-app/app/src/main/res/values') diff --git a/android-app/app/src/main/res/values/dimens.xml b/android-app/app/src/main/res/values/dimens.xml index 1b65ea9..21ff47a 100755 --- a/android-app/app/src/main/res/values/dimens.xml +++ b/android-app/app/src/main/res/values/dimens.xml @@ -1,9 +1,11 @@ - - 24sp - 18sp - 14sp + 26sp + 10sp + 10sp + 22sp + 10sp + 12sp 8dp 4dp diff --git a/android-app/app/src/main/res/values/themes.xml b/android-app/app/src/main/res/values/themes.xml index b18f4a8..5384c87 100755 --- a/android-app/app/src/main/res/values/themes.xml +++ b/android-app/app/src/main/res/values/themes.xml @@ -45,8 +45,9 @@ @color/instrument_text_secondary @dimen/text_size_instrument_label true - 0.1 - bold + 0.12 + normal + sans-serif-light - + + + + - + + + + + + + @@ -63,7 +63,7 @@ + + + -