Erik Johansson
2143763800
Unify measurement strings
...
- Remove percentage from strings as fat, water and muscle can all be
in both % and kg now.
- Always call it just fat, water and muscle without the "body"
prefix. There should be no risk for someone thinking it's some other
kind of fat.
2018-02-24 21:53:01 +01:00
Erik Johansson
56552bcfbc
Add missing escape
2018-02-24 21:53:01 +01:00
Erik Johansson
f95b8fa53c
Remove unused strings
2018-02-24 21:53:01 +01:00
OliE
924cb33e99
update German translation
2018-02-24 16:51:59 +01:00
OliE
6854b9704e
fixed to show the correct regression line
2018-02-24 16:31:27 +01:00
OliE
5f9610ec03
removed average count label on graph data points to reduce the label width
2018-02-24 08:31:39 +01:00
OliE
aec66b63a9
fix user add GUI unit test
2018-02-24 08:19:40 +01:00
OliE
0cba796169
Merge branch 'master' of https://github.com/oliexdev/openScale
2018-02-24 07:39:16 +01:00
Weblate
c788649eb3
Merge remote-tracking branch 'origin/master'
2018-02-24 07:39:09 +01:00
Erik Johansson
94f92df0ca
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (193 of 193 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-02-24 07:39:09 +01:00
OliE
4037451f63
Merge pull request #201 from erijo/menu
...
Move table menu to toolbar
2018-02-24 07:39:05 +01:00
OliE
7fbb4a9f12
colour action button foreground icon black
2018-02-24 07:38:56 +01:00
Erik Johansson
772487d860
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (193 of 193 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-02-23 21:25:20 +01:00
Erik Johansson
49fb2fab4f
Hide subpage view when there is only one page
2018-02-23 20:50:53 +01:00
Erik Johansson
ea3303d802
Move import/export/share to toolbar menu
2018-02-23 20:47:09 +01:00
OliE
dd6c9b2098
added a menue entry to show in the graph fragment weeks in months or year
2018-02-23 17:43:52 +01:00
Erik Johansson
72070ca8a0
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (192 of 192 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-02-22 21:30:34 +01:00
Erik Johansson
fba3016912
Add missing listener unregister
...
Also don't call getContext() directly as that requries newer API version.
2018-02-22 21:07:37 +01:00
Erik Johansson
ebe7e00264
Remove useless instanceof check
2018-02-22 19:31:37 +01:00
Erik Johansson
f3c5d2fd75
Merge getNameText() into getName()
2018-02-22 19:27:36 +01:00
Erik Johansson
f0940e7dee
Move setting of measurement order to preferences
2018-02-22 15:46:28 +01:00
Erik Johansson
c30c804c2c
Add MeasurementView.getNameText
2018-02-22 15:42:03 +01:00
Erik Johansson
660b017741
Sort List of views as well and pass that when saving order
2018-02-21 21:44:54 +01:00
Erik Johansson
b2eb11380f
Make it possible to change order of measurment views
...
By long pressing a view in the data entry activity, the view can be
dragged up or down to change the order. The order is then saved and
reflected in overview, table and data entry fragments/activity.
This fixes part of #81 (and #164 ).
2018-02-21 21:44:54 +01:00
Erik Johansson
fcff5243b9
Add MeasurementView::getKey method
...
Returns a stable, unique key for a measurement view.
2018-02-21 21:44:54 +01:00
Erik Johansson
ce60b5c7ec
Add next button to input dialog for moving directly to next measurement
...
This fixes the last part of #81 (and #164 ) (together with #198 ).
2018-02-21 13:33:31 +01:00
Erik Johansson
18559bb57a
Load preferences only when creating measurement views
2018-02-18 23:00:57 +01:00
Erik Johansson
bd6f255335
Recreate activity when perferences are changed
2018-02-18 22:53:07 +01:00
Erik Johansson
ecc416e9b8
Reset checked state in disableShiftMode
...
Fixes #194 .
2018-02-18 21:06:55 +01:00
Erik Johansson
47edce86b7
Close drawer when opening settings and help
2018-02-18 21:04:05 +01:00
Erik Johansson
66087b74b7
Hide top date/time bar when adding new measurement
2018-02-18 20:59:48 +01:00
Erik Johansson
53738b713b
Set edit mode before loading values
...
Add mode needs to be set before the value is loaded, otherwise "auto"
will not be properly shown.
2018-02-18 20:58:51 +01:00
Erik Johansson
29b0960b9e
Specify where, if at all, in the list that date/time should be
2018-02-18 20:32:19 +01:00
Erik Johansson
ff152f54c2
Remove unused imports
2018-02-18 20:31:27 +01:00
OliE
9055bbe014
update correct last measurement if the user selects an item on the line graph.
2018-02-18 13:37:10 +01:00
OliE
9bb88e03d7
changed some colors to material design colors
2018-02-18 13:27:28 +01:00
OliE
ac00944504
get for data entry activity the measurement view list from a central point.
2018-02-18 13:04:38 +01:00
OliE
d35e02a464
skip date and time measurement view for the overview fragment
2018-02-18 12:56:53 +01:00
OliE
70438f67f6
get measurements list for all fragments from a central point.
2018-02-18 12:51:03 +01:00
OliE
51ba977eb4
add dynamically graph and slice diagram for the overview fragment
2018-02-18 08:00:31 +01:00
OliE
5c4c8096ab
add dynamically the floating buttons for the graph fragment
2018-02-17 15:13:02 +01:00
OliE
62cc866a6d
fixed hidden last table row and center bottom menu
2018-02-16 16:22:05 +01:00
Erik Johansson
0d8d03d459
Don't start data entry activity if no user is selected
...
Also, don't allow search for bluetooth scale if no user is selected.
Fixes #192 and potentially also #158 .
2018-02-15 09:26:47 +01:00
OliE
0050ec46ff
update Hesley scale command code.
2018-02-14 18:35:51 +01:00
OliE
9f348896d8
Merge pull request #188 from erijo/tableview
...
Tableview
2018-02-14 18:30:08 +01:00
Pavel Borecki
c339ca3d1b
Translated using Weblate (Czech)
...
Currently translated at 75.0% (141 of 188 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/cs/
2018-02-14 08:35:06 +01:00
Erik Johansson
f89fdc8a88
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (188 of 188 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-02-13 22:39:44 +01:00
Erik Johansson
930630883c
Use intent to open file for import
2018-02-13 21:25:58 +01:00
Erik Johansson
979638bc2f
Handle CSV import of empty file
2018-02-13 21:25:58 +01:00
Erik Johansson
33a6a365fe
Don't call startActivityForResult when no result is needed
2018-02-13 21:25:58 +01:00