Erik Johansson
2699d63a51
Minor cleanup
2018-04-07 20:56:25 +02:00
Erik Johansson
9e8625002a
Use help functions for converting bytes to measurement values
...
Also use the datatime from the scale for the measurement.
2018-04-07 20:56:25 +02:00
Erik Johansson
d132681b0d
Add help function for converting uint16 from bytes to int
2018-04-07 20:56:25 +02:00
Erik Johansson
6899abd680
Remove unused method
2018-04-07 20:56:25 +02:00
ssantos
30375651d6
Translated using Weblate (German)
...
Currently translated at 100.0% (178 of 178 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2018-04-07 14:45:30 +02:00
Erik Johansson
ee5ea9dd25
Initial support for Beurer BF710
...
Fixes #237
2018-04-06 01:29:28 +02:00
Erik Johansson
46a10275b2
Create fewer temporary strings
2018-04-06 01:08:33 +02:00
Erik Johansson
ad46f50886
Shorten hint text to make the whole text visible
2018-04-04 21:53:51 +02:00
Erik Johansson
8965a5667a
Bump support lib version to 27.1.0
2018-04-04 21:34:43 +02:00
Erik Johansson
12652e7504
Bump simple CSV library to 2.3
2018-04-04 21:22:28 +02:00
Rui Carvalho
abf85652d4
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (179 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-04-01 14:41:31 +02:00
Rui Carvalho
d7865d14f5
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (179 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:49:50 +02:00
Rui Carvalho
98bcbb1b91
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (179 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:46:22 +02:00
Rui Carvalho
25176e5cf6
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (179 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:38:39 +02:00
Rui Carvalho
cb39b5b26e
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (179 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:33:32 +02:00
Rui Carvalho
b17d642477
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (179 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 13:20:43 +02:00
Rui Carvalho
6ea3a81fe0
Translated using Weblate (Portuguese)
...
Currently translated at 74.8% (134 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 12:50:40 +02:00
Rui Carvalho
9e2c2bd1b1
Translated using Weblate (Portuguese)
...
Currently translated at 67.5% (121 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-31 12:45:25 +02:00
Rui Carvalho
adea531667
Translated using Weblate (Portuguese)
...
Currently translated at 61.4% (110 of 179 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/pt/
2018-03-30 22:32:42 +02:00
Erik Johansson
ba89ffdfc0
Add summary text to estimate preference
2018-03-27 22:27:25 +02:00
Erik Johansson
d36f089537
Make drawer be closed after returning from preferences
2018-03-26 23:35:01 +02:00
Erik Johansson
c7a5d8858f
Retint preference icons after changing theme
2018-03-26 23:34:40 +02:00
Erik Johansson
23183ab181
Set android:tint programatically
...
as setting it in the xml file triggers an exception on API 19.
2018-03-26 23:12:37 +02:00
Erik Johansson
49df35aed8
Add summary to measurement preferences
...
Gives a quick overview of the current setting.
2018-03-26 20:34:33 +02:00
Erik Johansson
7bff83ecac
Show only weight by default on overview graph
2018-03-26 20:10:23 +02:00
Erik Johansson
c2ce0e15e1
Don't create old databases in new installs
2018-03-25 23:30:07 +02:00
Erik Johansson
7e27568c07
Set language in test using preference option
2018-03-25 01:23:48 +01:00
Weblate
100fed5708
Merge remote-tracking branch 'origin/master'
2018-03-25 01:10:06 +01:00
Erik Johansson
fbb830d4a8
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (175 of 175 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-03-25 01:10:05 +01:00
Erik Johansson
cbf3c983e1
Handle ContentResolver.query() returning null result
...
Fixes #234
2018-03-25 01:08:58 +01:00
Erik Johansson
3361f711c6
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (175 of 175 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-03-25 00:53:01 +01:00
Erik Johansson
70a4fd3d26
Add preference for selecting language
...
If no explicit language is select, the system default is still used.
2018-03-25 00:49:31 +01:00
Erik Johansson
21b02922fb
Make link to website clickable
...
and have it open the website.
2018-03-25 00:47:45 +01:00
Erik Johansson
156c6fa006
Add quick link to weblate directly from preferences
2018-03-25 00:43:20 +01:00
Erik Johansson
d310ddadd7
Make theme name translatable
2018-03-25 00:33:27 +01:00
Erik Johansson
c9e541e262
Add language preference
...
Make it possible to select a language that differs from the system
default. This can be useful when doing translations (as hinted in
issue #186 ), or if you just want to use openScale in a different
language from the system one.
Also moved theme setting to a new common base class for activities.
2018-03-25 00:26:01 +01:00
Erik Johansson
1e464f5b8a
Use class member prefs consistently
2018-03-24 23:15:09 +01:00
Erik Johansson
5d0df3a878
Update swedish translation
2018-03-24 21:25:21 +01:00
Erik Johansson
57daf44fb1
Get isEnabled from settings
...
Otherwise the wrong default value may be used. Fiesx problem reported in #226 .
2018-03-24 19:55:12 +01:00
Erik Johansson
1681661d4f
Move measurement on graph settings to settings class
2018-03-24 19:50:51 +01:00
Erik Johansson
284c09bf2e
Use instanceof instead of comparing name string
...
The resource id for the name string should not be known by users of MeasurementView.
2018-03-24 19:50:51 +01:00
Erik Johansson
bebfe2c1a5
Fix initial switch value
2018-03-24 19:50:51 +01:00
Erik Johansson
4bbcea751b
Don't set auto values if measurement is disabled
2018-03-24 19:50:51 +01:00
Erik Johansson
4342fce46f
Move dependency handling to settings class
...
This way it can check dependencies in isEnabled() as well.
2018-03-24 19:50:51 +01:00
Erik Johansson
78a266bb82
Store empty values for measurements that aren't enabled
2018-03-24 19:50:51 +01:00
Erik Johansson
ebe2d6dfa0
Refactor measurement settings
...
- Make it possible to disable all measurements (except weight). Fixes
#226 and fixes #224 .
- Add separate preference screens to all measurements to configure
e.g. if the measurement should be displayed in the overview graph
(this fixes #225 in a different way compared to previously), if
relative or absolute weight should be used etc.
- Include reordering of measurements in the main measurement
preference screen.
2018-03-24 19:50:51 +01:00
Erik Johansson
13d8850802
Remove unused imports
2018-03-24 19:50:51 +01:00
Erik Johansson
d97d426604
Move handling of estimation/percentage enabled to base class
2018-03-24 19:50:51 +01:00
Erik Johansson
9de72ec491
Use new settings class to get hold of estimation settings
2018-03-24 19:50:51 +01:00
Erik Johansson
912b7d1fe9
Add new class to keep track of settings for a measurement view
2018-03-24 19:50:51 +01:00