Skip to content

Commit 6b4bcf2

Browse files
authored
feat: update timer reset icon (#338)
Refs: #335
1 parent 769dcbf commit 6b4bcf2

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Changed
9+
- Updated timer reset icon ([#335])
10+
811
### Fixed
912
- Fixed invisible status bar icons on the alarm screen
1013

@@ -93,6 +96,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9396
[#206]: https://github.com/FossifyOrg/Clock/issues/206
9497
[#207]: https://github.com/FossifyOrg/Clock/issues/207
9598
[#247]: https://github.com/FossifyOrg/Clock/issues/247
99+
[#335]: https://github.com/FossifyOrg/Clock/issues/335
96100

97101
[Unreleased]: https://github.com/FossifyOrg/Clock/compare/1.4.0...HEAD
98102
[1.4.0]: https://github.com/FossifyOrg/Clock/compare/1.3.1...1.4.0

app/src/main/res/layout-land/fragment_stopwatch.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
android:id="@+id/stopwatch_time"
1212
android:layout_width="0dp"
1313
android:layout_height="wrap_content"
14+
android:layout_marginBottom="@dimen/medium_margin"
1415
android:autoSizeMaxTextSize="@dimen/stopwatch_text_size"
1516
android:autoSizeMinTextSize="@dimen/extra_big_text_size"
1617
android:autoSizeStepGranularity="2sp"
1718
android:autoSizeTextType="uniform"
1819
android:background="?attr/selectableItemBackground"
1920
android:fontFeatureSettings="tnum"
2021
android:gravity="center_horizontal"
21-
android:layout_marginBottom="@dimen/medium_margin"
2222
android:includeFontPadding="false"
2323
android:maxLines="1"
2424
android:padding="@dimen/small_margin"
@@ -94,7 +94,7 @@
9494
android:layout_width="@dimen/stopwatch_button_size"
9595
android:layout_height="@dimen/stopwatch_button_size"
9696
android:layout_marginEnd="@dimen/section_margin"
97-
android:padding="@dimen/activity_margin"
97+
android:padding="@dimen/normal_margin"
9898
android:src="@drawable/ic_play_vector"
9999
app:layout_constraintBottom_toBottomOf="parent"
100100
app:layout_constraintEnd_toEndOf="parent"
@@ -107,7 +107,7 @@
107107
android:layout_height="@dimen/stopwatch_button_small_size"
108108
android:background="?attr/selectableItemBackgroundBorderless"
109109
android:padding="@dimen/normal_margin"
110-
android:src="@drawable/ic_reset_vector"
110+
android:src="@drawable/ic_restart_alt_vector"
111111
android:visibility="gone"
112112
app:layout_constraintBottom_toBottomOf="parent"
113113
app:layout_constraintEnd_toEndOf="@id/stopwatch_play_pause"

app/src/main/res/layout/fragment_stopwatch.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
android:layout_width="@dimen/stopwatch_button_size"
9292
android:layout_height="@dimen/stopwatch_button_size"
9393
android:layout_marginBottom="@dimen/big_margin"
94-
android:padding="@dimen/activity_margin"
94+
android:padding="@dimen/normal_margin"
9595
android:src="@drawable/ic_play_vector"
9696
app:layout_constraintBottom_toBottomOf="parent"
9797
app:layout_constraintEnd_toEndOf="parent"
@@ -104,7 +104,7 @@
104104
android:layout_height="@dimen/stopwatch_button_small_size"
105105
android:background="?attr/selectableItemBackgroundBorderless"
106106
android:padding="@dimen/normal_margin"
107-
android:src="@drawable/ic_reset_vector"
107+
android:src="@drawable/ic_restart_alt_vector"
108108
android:visibility="gone"
109109
app:layout_constraintBottom_toBottomOf="@+id/stopwatch_play_pause"
110110
app:layout_constraintEnd_toStartOf="@+id/stopwatch_play_pause"

app/src/main/res/layout/item_timer.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
android:id="@+id/timer_time"
1717
android:layout_width="0dp"
1818
android:layout_height="wrap_content"
19-
android:fontFeatureSettings="tnum"
2019
android:autoSizeMaxTextSize="@dimen/timer_text_size"
2120
android:autoSizeMinTextSize="@dimen/extra_big_text_size"
2221
android:autoSizeStepGranularity="2sp"
2322
android:autoSizeTextType="uniform"
23+
android:fontFeatureSettings="tnum"
2424
android:gravity="center_vertical"
2525
android:includeFontPadding="false"
2626
android:maxLines="1"
@@ -54,7 +54,7 @@
5454
android:layout_marginHorizontal="@dimen/medium_margin"
5555
android:background="?attr/selectableItemBackgroundBorderless"
5656
android:padding="@dimen/normal_margin"
57-
android:src="@drawable/ic_reset_vector"
57+
android:src="@drawable/ic_restart_alt_vector"
5858
android:visibility="invisible"
5959
app:layout_constraintBottom_toBottomOf="parent"
6060
app:layout_constraintEnd_toStartOf="@+id/timer_play_pause"
@@ -67,7 +67,7 @@
6767
android:layout_width="@dimen/timer_button_size"
6868
android:layout_height="@dimen/timer_button_size"
6969
android:background="?attr/selectableItemBackgroundBorderless"
70-
android:padding="@dimen/activity_margin"
70+
android:padding="@dimen/normal_margin"
7171
android:src="@drawable/ic_play_vector"
7272
app:layout_constraintBottom_toBottomOf="parent"
7373
app:layout_constraintEnd_toStartOf="@id/timer_drag_handle"

0 commit comments

Comments
 (0)