OliE
e5edfb6700
Merge pull request #105 from erijo/oneuser
...
Hide user selector when there is only one user
2017-12-01 16:03:03 +01:00
OliE
af110374f1
Merge pull request #106 from erijo/dependent
...
Update diff value and dependent values when measurement change
2017-12-01 15:34:42 +01:00
OliE
e4f2c7692f
Merge pull request #107 from erijo/swedish
...
Add swedish translation
2017-12-01 15:29:23 +01:00
OliE
180eda66cc
Merge pull request #109 from ArthurReinhart/master
...
Added spanish language
2017-12-01 15:28:43 +01:00
Juan Antonio
c0bd18fe8c
Added spanish language
2017-11-30 11:17:08 +01:00
Erik Johansson
1a0d0a7df8
Add swedish translation
2017-11-28 20:39:02 +01:00
Erik Johansson
c7249b4cc2
Add colon after Error to improve the text
2017-11-28 20:38:32 +01:00
Erik Johansson
11980bdb90
Update dependent values when a measurement is changed
...
I.e. when the weight is updated, update BMI as well.
2017-11-26 19:18:56 +01:00
Erik Johansson
60471ab41e
Update diff value when value is updated
2017-11-26 19:12:43 +01:00
Erik Johansson
1db027c598
Update scale data outside of the loop
2017-11-26 19:11:57 +01:00
Erik Johansson
42f8be0c7d
Hide evaluator row when clicking on it
...
and not just when clicking on the measurement row.
2017-11-26 18:33:29 +01:00
Erik Johansson
92ab34ceef
Don't show evaluator row when there's no value to evaluate
...
The row wasn't shown when clicking the button to show all evaluator
rows, but it was shown when clicking on a measurement row.
2017-11-26 18:30:29 +01:00
Erik Johansson
9aaa29eef4
Hide user selector when there is only one user
2017-11-26 18:26:08 +01:00
OliE
e238133aa0
Merge branch 'master' of https://github.com/oliexdev/openScale
2017-11-26 07:59:14 +01:00
OliE
89967e756c
add support for Exingtech Y1 scale
2017-11-26 07:59:07 +01:00
OliE
ae1bdae358
Catch ArrayIndexOutOfBoundsException
2017-11-26 07:58:31 +01:00
OliE
9278f3aa0d
Merge pull request #104 from erijo/space
...
Whitespace cleanup
2017-11-26 07:54:30 +01:00
Erik Johansson
5756ffa92f
Clean up space around if, for, functions etc.
2017-11-25 18:48:43 +01:00
Erik Johansson
f2857204ff
Replace all tabs with four spaces
2017-11-25 18:30:47 +01:00
Erik Johansson
e892b87d43
Remove trailing whitespace
2017-11-25 18:25:10 +01:00
OliE
de66323618
Merge pull request #101 from erijo/gauge
...
Make the linear gauge easier to read
2017-11-25 08:36:57 +01:00
OliE
9fe3176372
Merge pull request #100 from erijo/gradle
...
Upgrade gradle and use default build tools version
2017-11-25 08:21:39 +01:00
Erik Johansson
04b436e78c
Revert "Set max fat to 60%"
...
This reverts commit 44a4fa8638
.
2017-11-22 23:23:19 +01:00
Erik Johansson
ff70f192ed
Only get expand preference once
2017-11-22 23:17:31 +01:00
Erik Johansson
82ec4863ef
Make incValue and decValue handle edge case better
...
Instead of blocking a dec when the value is 0.01, set it to 0. Similar
for incValue.
2017-11-22 22:51:03 +01:00
Erik Johansson
5002f739c1
Remove unused getMinValue
2017-11-22 22:47:32 +01:00
Erik Johansson
b344772dce
Use dynamic min and max values for gauge
...
Calculate min and max to put the normal zone in the middle while
keeping the current value visible. Makes it easier to see where one is
compared to the normal values.
2017-11-22 22:38:16 +01:00
Erik Johansson
ff9c92e9bc
Only get text bounds once for value text
2017-11-22 20:38:05 +01:00
Erik Johansson
c49cdeb12a
Fix path to built apk
2017-11-21 18:22:26 +01:00
Erik Johansson
a5beca2c74
Add google repository
2017-11-21 15:49:03 +01:00
Erik Johansson
75d60bd761
Bump build tools used on travis
2017-11-21 00:56:19 +01:00
Erik Johansson
44a4fa8638
Set max fat to 60%
...
Min water + min muscle is 40%, so 60% seems like a better max for
fat. Also, it gives a nicer gauge view.
2017-11-21 00:43:36 +01:00
Erik Johansson
89b732aada
Evaluate gauge view value in edit mode as well
...
Otherwise the gauge view will show "Can't evaluate the value" if the
measurement view is opened in edit mode.
2017-11-21 00:43:24 +01:00
Erik Johansson
25a9fdfccc
Draw value text under linear gauge
...
This way the value text don't collide with the limit text.
Also centered both limit bars and text and made the position
calculator take the min limit into account when calculating the
position.
2017-11-21 00:43:08 +01:00
Erik Johansson
ab38f13faf
Upgrade gradle and use default build tools version
2017-11-20 21:25:47 +01:00
OliE
40750a3b99
catch sql exception on getScaleDataList method
2017-11-12 22:37:46 +01:00
OliE
6c8691aaa0
Update README.md
2017-11-12 16:26:30 +01:00
OliE
e0ffea679b
update gradle to version 1.6
v1.6
2017-11-12 16:08:55 +01:00
OliE
6578ba0835
Update README.md
2017-11-12 15:58:26 +01:00
OliE
1cd8830800
Update README.md
2017-11-12 15:51:16 +01:00
OliE
e54a6a376e
update body metrics dates and author
2017-11-12 13:50:41 +01:00
OliE
fc6c8138cb
added a mi scale v2 photo
2017-11-12 12:19:24 +01:00
OliE
f85d9ff865
delete old doc folder structure
2017-11-12 12:05:57 +01:00
OliE
85625306c1
reorganise doc folder structure
2017-11-12 11:58:46 +01:00
OliE
95b4686bb1
added about page
2017-11-11 14:45:43 +01:00
OliE
1f03c94d7b
Merge pull request #95 from erijo/datetime
...
Unify date and time handling
2017-11-10 13:52:14 +01:00
OliE
bced047f85
Merge pull request #94 from erijo/travis-badge
...
Point build status badge to travis
2017-11-10 13:51:45 +01:00
Erik Johansson
86e1e97f08
Unify date and time handling
...
* Present date in the "medium" (default) format (e.g. Nov 9, 2017)
instead of dd.MM.YYYY (e.g. 09.11.2017). Besides that it is easier
to read and wraps better in the table view, it is also localized and
avoids the uncertainty if day or month comes first.
* Similar, time is now presented in a localized format (i.e. 12 or 24
hour clock is taken from system settings).
* The time pickers are also configured to show a 12 or 24 hour clock
depending on the system setting.
* Handling of birthday and goal date is now fully done in the user
settings activity and OpenScale.(add|update)ScaleUser no longer has
to know which format the date string was in.
* The date and time measurement view now opens the date/time picker
with the initial date/time set to the measurement's value.
2017-11-09 20:09:14 +01:00
Erik Johansson
60d18c9b50
Point build status badge to travis
...
Makes it possible to click the badge and get to travis directly.
2017-11-08 22:00:31 +01:00
OliE
481eb17d36
catch user input NumberFormatException
...
add lean body weight icons
2017-11-08 18:18:43 +01:00