diff --git a/CHANGELOG.md b/CHANGELOG.md index d603b7cc..2c12c471 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed +- Fixed overlap/truncation in stopwatch lap times ([#346]) ## [1.5.0] - 2025-12-16 ### Changed @@ -100,6 +102,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#207]: https://github.com/FossifyOrg/Clock/issues/207 [#247]: https://github.com/FossifyOrg/Clock/issues/247 [#335]: https://github.com/FossifyOrg/Clock/issues/335 +[#346]: https://github.com/FossifyOrg/Clock/issues/346 [Unreleased]: https://github.com/FossifyOrg/Clock/compare/1.5.0...HEAD [1.5.0]: https://github.com/FossifyOrg/Clock/compare/1.4.0...1.5.0 diff --git a/app/src/main/res/layout-land/fragment_stopwatch.xml b/app/src/main/res/layout-land/fragment_stopwatch.xml index 772c0202..629de966 100644 --- a/app/src/main/res/layout-land/fragment_stopwatch.xml +++ b/app/src/main/res/layout-land/fragment_stopwatch.xml @@ -31,9 +31,10 @@ + app:layout_constraintHorizontal_weight="0.8" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/fragment_stopwatch.xml b/app/src/main/res/layout/fragment_stopwatch.xml index 2ffca417..3f0b1420 100644 --- a/app/src/main/res/layout/fragment_stopwatch.xml +++ b/app/src/main/res/layout/fragment_stopwatch.xml @@ -35,6 +35,7 @@ android:id="@+id/stopwatch_sorting_indicators_holder" android:layout_width="match_parent" android:layout_height="wrap_content" + android:paddingHorizontal="@dimen/big_margin" android:visibility="invisible" app:layout_constraintBottom_toTopOf="@id/stopwatch_list" app:layout_constraintTop_toBottomOf="@+id/stopwatch_time" @@ -42,28 +43,34 @@ + app:layout_constraintHorizontal_weight="0.8" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/item_lap.xml b/app/src/main/res/layout/item_lap.xml index 0a34352d..e4868ba3 100644 --- a/app/src/main/res/layout/item_lap.xml +++ b/app/src/main/res/layout/item_lap.xml @@ -6,50 +6,54 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" - android:paddingVertical="@dimen/small_margin" - android:paddingLeft="@dimen/activity_margin"> + android:paddingHorizontal="@dimen/big_margin" + android:paddingVertical="@dimen/small_margin"> + app:layout_constraintTop_toTopOf="parent" + tools:text="12" /> + tools:text="24:43:00" /> + tools:text="42:26:43:00" /> diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index e347031e..59c03091 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -3,7 +3,6 @@ 60dp 64dp 70dp - 80dp 18dp 48dp 96dp