Román Ginés
79e45f7aea
Migration to Material Components theme and style.
...
New night theme mainly white on black.
Fixes #1122 .
Fixes #957 .
2022-03-03 10:02:34 +01:00
Dennis Guse
cf993b73d7
Package structure: moved custom recording layout.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Dennis Guse
10f00c4c99
Package structure: moved UI utilities.
...
Part of #963 .
2022-01-15 22:08:30 +01:00
Dennis Guse
2ca69df447
Package structure: moved Marker UI code.
...
Part of #963 .
2022-01-15 22:08:21 +01:00
Dennis Guse
1a125ca60d
Package structure: moved aggregated statistics.
...
Part of #963 .
2022-01-15 22:08:06 +01:00
Dennis Guse
5053c41bec
Package structure: moved intervals.
...
Part of #963 .
2022-01-15 22:07:53 +01:00
Román Ginés
5cd6992c90
Proper handling of timezone data on UI. Fixes #301 .
...
Details:
- Date and time handled by OffsetDateTime Java class.
- Track default name with offset (for date local and ISO 8601 options).
- TrackListActivity: shows relative today's date (like Today, Yesterday, 22 Dec, 22 Dec 2021, etc).
- StatisticsRecordedFragment: always shows the original date and time. For example, if you record an activity at 20h then it always will show 20h regardless the zone are where you are.
- Added new tests.
2022-01-03 16:27:40 +01:00
Dennis Guse
55d3502ff9
Cleanup using AndroidStudio analyze.
2021-12-30 12:16:31 +01:00
Román Ginés
b4ce99440a
AggregatedStatisticsActivity: added filter option (by category, start and/or end date).
...
Fixes #1039 .
2021-12-24 11:50:32 +01:00
Román Martínez
7f9057c519
Added profiles for custom layouts.
...
Users can add severals custom layouts and select one of them in recording fragment. The last selected layout is the one that will be use in the next recording.
Fixes #938 .
2021-12-07 18:07:25 +01:00
Román Martínez
b1032f898a
New field for recording layout: clock.
...
With this change fields can be: short, wide, clock short or clock wide.
Fixes #1015 .
2021-11-14 16:27:37 +01:00
Dennis Guse
b6b4c5aa39
Cleanup: move PreferencesUtils into settings package.
...
Part of #963
2021-10-12 22:24:51 +02:00
Dennis Guse
eac3d4b3db
Cleanup: SharedPreference as static variable.
...
Fixes #961 .
2021-10-12 22:24:51 +02:00
Román Martínez
e0111c2ffd
Gain and loss are integers.
2021-09-18 16:17:29 +02:00
Román Martínez
9c4c8131f5
Recording stats layout customizable.
...
Users can select the order, visibility and importance (primary or secondary) of all stats for recording layout from the Settings.
Also, users can select the number of columns per row in the recording layout: 1, 2 or 3.
Finally, show altitude/coordinate from settings have been removed (not needed anymore).
Fixes #659 .
Fixes #302 .
Fixes #820 .
2021-08-21 19:40:31 +02:00
Dennis Guse
348f74c4b3
Cleanup.
2021-07-31 17:54:57 +02:00
Dennis Guse
401e07d7e7
Cleanup.
2021-07-09 23:17:18 +02:00
Dennis Guse
af8d9c08ab
IntervalStatistics: format gain/loss like on StatisticsRecordingFragment.
2021-07-04 16:53:10 +02:00
Román Martínez
32891fbf94
Workaround for no barometric sensor: intervals shows dashes (-) for gain and loss. Fixes #791 .
2021-06-28 17:55:36 +02:00
Dennis Guse
7ebd532edb
Cleanup using AndroidStudio's code analyzer.
2021-06-24 18:47:49 +02:00
Román Martínez
24e18347a6
IntervalsFragment doesn't use TrackDataHub anymore. This improve intervals performance. Fixes #808 .
2021-06-15 17:09:24 +02:00
Dennis Guse
bc2a3ddee3
IntervalStatistics/Announcement: use Distance.
2021-04-13 19:18:18 +02:00
Dennis Guse
6f9c788965
Value objects distance and speed.
...
#679
2021-04-13 19:18:18 +02:00
Román Martínez
978206dee4
IntervalsFragment/IntervalStatisticsModel refactoring: better performance with AndroidViewModel (it doesn't recreate the model every track point done anymore).
...
Also, it doesn't jump anymore. Fixes #669 .
2021-04-08 19:46:40 +02:00
Dennis Guse
3a073a3b0a
Code cleanup.
2021-04-04 23:31:36 +02:00
Dennis Guse
3f21edc44c
Cleanup.
2021-03-21 20:01:57 +01:00
Dennis Guse
15fbd90ca4
Performance: Keep reference to sharedPreferences.
...
So far, we opened the SharedPreferences very often, which is very slow; also happened in the UI thread a lot.
Fixes #642 .
2021-03-15 12:01:32 +01:00
Dennis Guse
29b522b8a2
Cleanup.
2021-03-11 21:16:24 +01:00
Dennis Guse
fdf4336a9b
Cleanup.
2021-03-04 19:18:31 +01:00
Dennis Guse
eac7efba64
Upgrade desugar lib.
2021-02-26 21:30:08 +01:00
Román Martínez
a9624f72e7
Track recorded stats shows sensor data from trackpoints table.
...
Heart rate: maximum and average.
Cadence: maximum and average.
Power: average.
Fixes #525 and #502 .
2021-02-14 17:34:19 +01:00
Román Martínez
8a08e7b2b5
Creates thumbnail from marker's photos for marker's list.
...
These thumbnails are created and loaded async using cache from free memory available.
Fixes #545 .
2021-01-24 17:43:18 +01:00
Dennis Guse
577b978a5c
Cleanup.
2021-01-10 20:25:59 +01:00
Román Martínez
4714171e21
Added elevation loss via barometer (like elevation gain). Fixes #547 .
2020-12-25 18:19:01 +01:00
Dennis Guse
1409537e56
AggregatedStatistics: fixed ViewHolder pattern.
2020-12-15 22:53:52 +01:00
Dennis Guse
5675dc800d
Aggregated stats: ordered by number number of tracks per category.
2020-12-13 22:44:44 +01:00
Dennis Guse
a429fbe4df
Interval list: RTL and localized formatting (only default strings.xml).
2020-11-28 15:05:49 +01:00
Dennis Guse
bf92851c97
Show sensor data's unit.
2020-11-11 21:08:39 +01:00
Román Martínez
d01715444f
Adaptive recording layout for sensors (heart rate, cycling cadence and cycling power).
2020-11-11 21:08:39 +01:00
Román
0036934fb3
Intervals: added elevation gain and only shows speed or pace, depending on settings.
2020-10-11 12:12:44 +02:00
Dennis Guse
0dfd31a308
Code cleanup via Android Studio analyze.
...
Notably change: TrackPoint's copy constructor missed to copy the elevationGain.
2020-09-20 18:46:05 +02:00
Román
d1957331b8
Intervals refactoring: added stack mode to the intervals adapter with two possibilities: stack from top and stack from bottom.
...
Stack from top for recorded intervals (the first lap in the top).
Stack from bottom for recording intervals (the last lap in the top).
2020-09-14 18:31:12 +02:00
Román
ffedc04777
Intervals refactoring: avoid duplication code: IntervalsRecordingFragment is a version of IntervalsFragment.
2020-09-14 18:31:12 +02:00
Román
684762db58
Intervals refactoring: ListView instead of LinearLayout with a list of views.
2020-09-14 18:31:12 +02:00
Román
65f42dd3e5
Interval Stats: improve code and fixed some UI issues.
2020-09-02 07:52:33 +02:00
Román
a8cefcd0fd
Interval statistics: show accumulate in distance column.
2020-09-02 07:52:33 +02:00
Román
7a923a947e
Added intervals in StatisticsRecordedFragment with distance, speed and pace for all activity types.
...
Users can select the length of the interval (in a spinner with several options).
The intervals will be in km or mi depending on settings.
2020-09-02 07:52:33 +02:00
Dennis Guse
b70c3be5af
Cleanup: static code analysis using AndroidStudio.
2020-07-20 20:05:45 +02:00
Román
b8d2d14d68
Preferred rate is used for aggregated stats. Fixes #321 .
...
Lambda expression for Observer.
2020-07-15 21:43:55 +02:00
Román
bae3373fe9
Aggregated statistics by activity type. Fixes #112 .
2020-06-14 19:57:07 +02:00