Erik Johansson
b9f4c7de8e
Use a file provider to implement sharing
2018-02-13 21:25:58 +01:00
Erik Johansson
f2d7b355a8
Make all table entries at least two lines high
2018-02-13 21:25:58 +01:00
Erik Johansson
8b3461c2b8
Add a bit of space around the edges
2018-02-13 21:25:58 +01:00
Erik Johansson
9d9611ac72
Add new line in appendDiffValue
...
so that it's only added when needed (i.e. when there are a diff value).
2018-02-13 21:25:58 +01:00
Erik Johansson
11be8a7c85
Postpone creating text until view is requested
...
Wait until the measurement is actually to be shown in the gui until
creating the spanned text. Cache it so that it doesn't have to be
recalculated.
Drop the first hidden column that contained the id. Instead implement
Adapter.getItemId and use the supplied id in onClickListenerRow.
Speeds up the initial loading of the table.
2018-02-13 21:25:58 +01:00
Pavel Borecki
49bd7130f9
Added translation using Weblate (Czech)
2018-02-13 07:36:01 +01:00
Erik Johansson
1197a6e281
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-12 21:40:03 +01:00
OliE
f7100b1131
change some icons to material icons
2018-02-12 16:19:29 +01:00
Pablo Hinojosa
e08ca60e68
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (188 of 188 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/es/
2018-02-12 14:20:36 +01:00
OliE
6a2b479969
added for graph and table fragment an option menu
2018-02-12 12:01:59 +01:00
OliE
8ec7eac288
HACK to call RequestPermissionResult(...) in PreferenceFragment otherwise API level > 23 is required
2018-02-11 14:21:00 +01:00
OliE
ce7a8469ad
try calling method again if permission was granted
2018-02-10 14:48:02 +01:00
OliE
0703607ceb
added an icon and title for the Bluetooth permission information dialog
2018-02-10 11:02:06 +01:00
OliE
97a75762dc
ask user for read/write permission and coarse location permission if needed.
2018-02-10 10:51:37 +01:00
OliE
d59391608d
Translated using Weblate (German)
...
Currently translated at 100.0% (184 of 184 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2018-02-10 07:33:02 +01:00
Weblate
34b47094ca
Merge remote-tracking branch 'origin/master'
2018-02-10 07:30:29 +01:00
Erik Johansson
1fcd5d4cb6
Translated using Weblate (Swedish)
...
Currently translated at 97.2% (180 of 185 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/sv/
2018-02-10 07:30:29 +01:00
OliE
4fca9a550e
Merge pull request #181 from erijo/data-entry-misc
...
Data entry misc
2018-02-10 07:25:41 +01:00
OliE
8d7f573f83
set app name untranslatable and remove full stops of some sentences.
2018-02-10 07:24:18 +01:00
Erik Johansson
735e6bf8c3
Avoid having left/right buttons jump back and forth
...
Set a min width so that once it has grown it can't get smaller again.
2018-02-10 07:11:20 +01:00
Erik Johansson
9c0573dc5c
Don't enable left/right button if at start/end
2018-02-10 07:07:54 +01:00
Erik Johansson
2496667250
Compare id instead of item string
2018-02-10 07:04:23 +01:00
Erik Johansson
601dd7e75b
Discard changes when aborting edit
2018-02-10 07:00:20 +01:00
OliE
c9ece9b99d
Translated using Weblate (German)
...
Currently translated at 100.0% (185 of 185 strings)
Translation: openScale/Strings
Translate-URL: https://hosted.weblate.org/projects/openscale/strings/de/
2018-02-09 20:06:46 +01:00
OliE
cc6ee7230f
set correct theme for user settings activity.
2018-02-09 18:25:16 +01:00
OliE
f5d71a3c7b
replaced btnOk id with saveButton
2018-02-09 18:21:48 +01:00
OliE
8aab9ff827
- usage of a save icon
...
- GUI refactored for user settings activity to match with user data entry
- tint menu icon color differently
2018-02-09 18:13:55 +01:00
Erik Johansson
22e11a42cb
Re-add cancel and add/ok buttons and remove save text-icon
2018-02-09 18:13:55 +01:00
Erik Johansson
b8800193a3
Add options menu to data entry activity
...
- Remove buttons at the bottom and instead use the back button to go
back or cancel an add or edit. As for adding a measurement or saving
an edit, a text button is now shown in the toolbar when adding or
editing a measurement.
- Hide left/right arrows while in edit mode to make it clear that the
entry must be saved before one can navigate away.
- Show evaluator view by default the first time the activity is shown
to let new users see it.
2018-02-09 18:13:55 +01:00
Erik Johansson
ec13477c6a
Update date/time label if date/time is changed
2018-02-09 18:13:55 +01:00
Erik Johansson
d9b74ddd71
Don't start from last fragment when taking screenshots
2018-02-09 18:13:55 +01:00
Erik Johansson
3677ced551
Correct button id
2018-02-09 18:13:55 +01:00
Erik Johansson
4ea32a4298
Use material theme and move colors to colors.xml
2018-02-05 21:44:34 +01:00
Erik Johansson
d7dd525806
Switch to using AppCompatActivity
2018-02-05 18:10:54 +01:00
Erik Johansson
b44a83939e
Fix indentation
2018-02-05 18:01:37 +01:00
OliE
7bff693926
- fixed memory leak while switching between fragments.
...
- added help button.
- used another graph icon for navigation icons to avoid that the preference tint method is applied to the navigation icon.
2018-02-04 13:45:30 +01:00
OliE
77486eb859
added navigation bottom drawer
2018-02-04 10:57:07 +01:00
OliE
a8eb24eb37
move add measurement button to toolbar.
...
remember last fragment id.
2018-02-03 20:35:24 +01:00
OliE
2a27c3801d
replaced add measurement button with floating button.
2018-02-03 19:40:03 +01:00
OliE
f0df98485e
remember export path for each user.
2018-02-03 15:42:47 +01:00
Erik Johansson
0d4877b033
Increase measurements per page to 50
2018-02-02 19:38:38 +01:00
Erik Johansson
147550262b
Add method to control if measurment views should update internal views
...
The table view doesn't actually display the measurement views, it only
uses them for formatting the value that is later displayed. So to
speed up that view, avoid doing calculations that aren't used.
2018-02-02 19:26:54 +01:00
Erik Johansson
7e932b0ec1
Speed up table view by using spanned string instead of HTML
2018-02-01 21:19:01 +01:00
Erik Johansson
9db1a355a3
Add some tiny space between indicator and text
2018-02-01 20:47:00 +01:00
Erik Johansson
c8d45b2469
com.health.openscale -> com/health/openscale for unit tests as well
2018-02-01 20:40:44 +01:00
Erik Johansson
640c9665bf
Use constants for the name of extra values in intents
2018-02-01 20:37:43 +01:00
oliexdev
70f263c08b
check if receiver is registered before unregister it.
2018-02-01 20:17:22 +01:00
OliE
ed53b1d544
replaced at the CSV export option the abort button with share button.
2018-02-01 19:07:11 +01:00
OliE
b21430d9fb
check if device is not null
2018-02-01 19:05:33 +01:00
OliE
531d38be31
update Bluetooth 1byone commands.
2018-02-01 17:45:53 +01:00