Andreas Shimokawa
c493df2423
Merge branch 'bip-wip'
2018-03-31 11:31:03 +02:00
Allen B
e04cfc2267
Change fab margin ( #1042 )
...
Place the FAB according to android material design guidelines
Fixes #1041
2018-03-27 21:01:25 +02:00
Andreas Shimokawa
e48885df7d
Merge branch 'master' into bip-wip
2018-02-15 23:38:06 +01:00
Daniele Gobbetti
8bd9cd6dff
Fix alarm details activity on small screen
...
Tested using the split screen functionality, this change allows to
scroll if the controls do not fit in the screen. Fixes #935
2018-02-10 23:56:37 +01:00
Andreas Shimokawa
1349a1c7da
Merge branch 'master' into bip-wip
2018-01-22 08:57:01 +01:00
Andreas Shimokawa
c420f2ce93
Amazfit Bip: implement find phone feature
...
This probably also works with Amazfit Cor
Closes #887
2018-01-13 18:46:21 +01:00
Andreas Shimokawa
eec0cd1553
Try to make alarm details scrollable. Blind attempt at fixing #935
2018-01-13 16:38:44 +01:00
Felix Konstantin Maurer
65c83c404c
Revert unnecessary changes
...
This reverts commit c19da6c6d8
.
2018-01-09 22:41:27 +01:00
Felix Konstantin Maurer
254afafa3e
First try at periodic db export
2018-01-09 22:41:27 +01:00
Andreas Shimokawa
7e2f895001
Merge branch 'master' into bip-wip
2017-12-17 00:24:48 +01:00
cpfeiffer
53398e019b
Make installer view scrollable
2017-12-11 22:20:36 +01:00
Daniele Gobbetti
331ca6a47e
Merge branch 'master' into bip-wip
2017-11-01 22:12:13 +01:00
Daniele Gobbetti
e7839f1c39
Replace the Combined Charts with simple Line Charts
...
Fixes #808
The datasets had to be separed in order to fill the area below each line with the right color.
2017-11-01 17:35:05 +01:00
Daniele Gobbetti
98b04dd2fc
Allow disabling left/right swipe on the graphs
...
Fixes #860
Added preference to control this option
Swiping down will still toggle a sync of the data from the device (if connected) in any case
2017-11-01 09:07:01 +01:00
cpfeiffer
f5318287c4
WIP: Bip GPS fetching, parsing, exporting
...
Also adjust Mi2 date/time sending wrt DST offsets
2017-10-31 23:16:39 +01:00
Daniele Gobbetti
e8ae47de79
Pebble: Make background JS support toggle-able
...
- Add preference to enable background JS (default disabled)
- Remove the dummy activity used to create the webview, use ExternalPebbleJSActivity instead
- Add layout for legacy configuration, used if background JS is not enabled
- Create the view upon connecting, not when launching the application
- Remove the generic helpers used to find out if any device would need the background webview
- Drastic refactoring of WebviewSingleton moving internal classes in a new package "webview" in service/devices/pebble
2017-09-25 17:12:35 +02:00
Andreas Shimokawa
c627d690c7
Merge branch 'master' into background-javascript
2017-08-29 22:53:38 +02:00
Andreas Shimokawa
c946ef5201
remove unused resources
2017-08-29 22:46:45 +02:00
Andreas Shimokawa
74652397dd
Merge branch 'master' into background-javascript
2017-08-28 00:35:28 +02:00
Daniele Gobbetti
612592516b
Colored buttons everywhere!
2017-08-27 19:26:27 +02:00
Daniele Gobbetti
44d2384aec
Use gridlayout from support library
...
Add gridlayout dependency and use it instead of heavily nested linearlayouts (fragment_live_activity) or to simplify existing grid layouts.
2017-08-27 18:26:49 +02:00
Daniele Gobbetti
d00b5a5d5d
Merge branch 'master' into background-javascript
2017-08-18 12:15:01 +02:00
Daniele Gobbetti
8cce2d1362
Pebble: allow to blacklist certain calendars
...
As requested in #736 , this adds an entry in the settings menu that allows to blacklist certain calendars.
To avoid confusion, all the former blacklist methods and fields have been renamed to apps_blacklist. The new entries are called calendars_blacklist.
Importing the settings has not been tested with the current changes.
Closes #736
Future improvements TODO: The new setting lives in the Pebble section, i believe in the future the blackslist functionality should be centralized and put in the sidebar.
2017-08-18 10:34:42 +02:00
Andreas Shimokawa
eb7e635cdc
Merge branch 'master' into background-javascript
2017-07-15 23:07:46 +02:00
Vebryn
7dc9c28c74
initial version of speed zones tab ( #674 )
...
* #673 initial version of speed zones tab
* #673 fix copyrights and initial step speed length
2017-05-14 23:09:27 +02:00
Andreas Shimokawa
3751273cd0
Merge branch 'master' into background-javascript
2017-05-09 14:04:33 +02:00
Daniele Gobbetti
f06298a3c8
Fix some lint errors and warnings:
...
- check the calling Intent action when autostarting
- replace the FAB + image with a vector drawable
2017-04-23 12:43:13 +02:00
Andreas Shimokawa
86392dbf06
Merge branch 'master' into background-javascript
2017-04-20 14:34:32 +02:00
Daniele Gobbetti
5bf6251dc5
Rename some layout files as they are used for specific purposes
2017-04-09 16:03:07 +02:00
Daniele Gobbetti
fe626eb11e
Remove the checkboxes in the alarms cardview and simplify layout of details activity
...
- rename the layout file of the alarm item to better organize the files
- add a color selector for the item view, this replicates the old behavior of using the color to highlight enabled days
- remove the nested linearlayouts in the alarm details activity layout and use CheckedTextView instead
2017-04-09 16:01:48 +02:00
Daniele Gobbetti
a77ff03ca5
Add filter functionality to the app blacklist activity
2017-04-09 00:21:43 +02:00
Daniele Gobbetti
48728cbb50
Implement recyclerView in the AppBlackListActivity.
...
This allows to implement a search functionality (in the future)
2017-04-08 22:26:12 +02:00
Daniele Gobbetti
5c0c5581bb
Merge branch 'master' into background-javascript
...
# Conflicts:
# app/src/main/assets/app_config/js/gadgetbridge_boilerplate.js
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/AbstractDeviceCoordinator.java
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/DeviceCoordinator.java
2017-04-08 21:16:01 +02:00
Daniele Gobbetti
018c2a971e
Show the list of alarms as (material design) cards
2017-04-08 18:44:15 +02:00
Daniele Gobbetti
2e98b1396f
Do not override the android:* text colors, define our own. This fixes a crash on API 19.
...
Also define them in the attrs xml file and do some grouping in the colors xml.
It might be we don't need them at all, but for the time being let's keep them around.
2017-04-08 15:49:00 +02:00
Alberto
de6ce1a3d7
Show all the detailed information in the CardView's overflow
...
Do not limit the height of the overflow list to 50dp.
It is possible that we will need to limit the maximum allowed height in the future.
2017-04-08 09:03:45 +02:00
Daniele Gobbetti
8e780fa122
Add some space between the tabs and the chart legend.
2017-04-03 21:24:21 +02:00
Daniele Gobbetti
4ab39e2c00
Just applied automatic code formatting to all layout files. NO content change.
2017-04-03 21:09:35 +02:00
Daniele Gobbetti
e556a65ff5
Change layout it to avoid duplicates.
...
It didn't cause any issue as this layout is not referenced anywhere.
2017-04-03 21:05:27 +02:00
Daniele Gobbetti
0573939c9e
Lint: change marginRight to marginEnd
2017-04-03 21:03:31 +02:00
Daniele Gobbetti
96a49f0b7a
Fix alignment of action icons and enable proper (vector) scaling.
2017-04-03 18:30:29 +02:00
Daniele Gobbetti
e89ba529c3
Apply some Material design guidelines to the charts
...
- replace the PagerTabStrip with a TabLayout (moved to top and scrollable)
- move the date selection to the bottom
- do not update the activity title as the tab name is much more visible now
2017-04-01 17:47:54 +02:00
Daniele Gobbetti
9a0439c6e0
Apply some Material design guidelines to the app management
...
- replace the PagerTabStrip with a TabLayout (moved to top)
- change the row element to adhere to the guidelines wrt spacing
- move the FAB a bit and hide it when scrolling down, scroll up to reveal it again
2017-04-01 17:06:38 +02:00
Daniele Gobbetti
db4e37d08b
Make the drag handle less prominent (grey)
2017-04-01 15:45:30 +02:00
Daniele Gobbetti
f80215b37a
Use standard recyclerview for app reordering
...
- allow dragging by using a drag handler (as per best practice)
- remove the custom draglistview dependency
- update to the latest android support libraries
2017-03-31 18:17:53 +02:00
Daniele Gobbetti
46501be249
Enlarge the "hit box" of each icon (replace some margin pixels with padding).
...
Fixes #615
2017-03-27 13:56:03 +02:00
Andreas Shimokawa
06c89b508e
Merge branch 'master' into background-javascript
2017-03-16 18:01:51 +01:00
Daniele Gobbetti
5008f08272
Revert "Use constraintlayout for the cardview and few improvements."
...
This partially reverts commit ecd2c166c2
because the ConstraintLayout dependency it creates problems in travis and in f-droid build system. #thanksgoogle #wecanthavenicethings :(
2017-03-12 09:06:58 +01:00
Andreas Shimokawa
2c1923dd96
change icon for "find lost device" action, add small padding to app manager icon
2017-03-11 23:37:19 +01:00
Andreas Shimokawa
09f3dad9ff
Merge branch 'master' into background-javascript
2017-03-11 22:03:29 +01:00
Daniele Gobbetti
0ac77fc0a4
Remove the legacy ControlCenter and its usages. Add New GUI to the changelog.
2017-03-11 19:49:57 +01:00
Daniele Gobbetti
ecd2c166c2
Use constraintlayout for the cardview and few improvements.
...
Icons are now bigger.
"find device" is in the icon row
2017-03-11 16:50:12 +01:00
Daniele Gobbetti
176cf79cc1
Merge branch 'master' into new_GUI
...
# Conflicts:
# app/build.gradle
2017-02-26 16:55:54 +01:00
Andreas Shimokawa
772a22f78b
Merge branch 'master' into background-javascript
2017-02-25 13:02:07 +01:00
Andreas Shimokawa
08080b02bb
Drop support for legacy (pre 0.12.0) database
2017-02-23 22:44:44 +01:00
Daniele Gobbetti
f66f765fb6
Merge remote-tracking branch 'origin/master' into background-javascript
...
# Conflicts:
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleIoThread.java
2017-01-28 17:43:34 +01:00
Andreas Shimokawa
f81ff8591b
Pebble: add a FAB in App Manager which launches a file manager to chose a file
...
This is similar to #247 but simpler and using a FAB, also it explicitly targets our Activity instead of allowing to open a video in a video player which using this feature
Also suggested in #520
2017-01-26 17:23:28 +01:00
cpfeiffer
1e24fa7ad8
Dummy weather notifucation config activity
2017-01-14 00:26:47 +01:00
cpfeiffer
7b1ea68b62
Remove obsolete layout params
...
Closes #495 (thanks!)
2017-01-08 21:45:27 +01:00
Daniele Gobbetti
53d8f88670
Pebble: first steps towards background JS execution.
...
Progress so far:
- webview is created upon watchapp launch
- webview is destroyed after disconnect
- ready event is fired in the background
- showConfiguration is fired upon webview display
2016-12-28 20:53:17 +01:00
cpfeiffer
d12103e95d
Merge branch 'master' into new_GUI
2016-12-15 20:31:04 +01:00
Andreas Shimokawa
c95587c915
remove _le suffix where not appropriate
2016-11-19 22:45:42 +01:00
Andreas Shimokawa
029cc02a29
Pebble: Add Pebble specific pairing activity mainly useful for Pebble 2 since it properly pairs the Pebble after connecting with BLE
...
Fixes #433
2016-11-19 22:13:00 +01:00
Daniele Gobbetti
46824b7235
Minor changes to the navigation header
2016-10-30 14:39:31 +01:00
Daniele Gobbetti
8fdb233ef0
Bind connect and disconnect to the whole cards.
...
Use snackbars to give early feedback to the user (colors are wrong now, waiting for a change in master).
Removed hintTextView for good
2016-10-29 18:20:53 +02:00
Daniele Gobbetti
a4b7b87b24
Merge branch 'master' into new_GUI
2016-10-29 16:40:33 +02:00
cpfeiffer
544ec4958b
Allow multiple lines for name in "item_with_details" (fw upgrade log)
2016-10-28 22:18:08 +02:00
Daniele Gobbetti
d467b37493
ControlCenterv2: further steps:
...
Close drawer before launching activities (feels sloow).
Implement device deletion (untested).
Add app-management icon, remove tap-connected-device-for-primary-activity, hidden (not removed) text hint.
Use level-list for device icon.
Use the new control center when tapping GB notifications.
Added icons to the legacy control center context menu, perhaps it can be embedded in the card?
2016-10-25 17:49:21 +02:00
cpfeiffer
59212b54c8
CCv2: Less contrast by using grey icons.
...
Delete and Find Device icons are even lighter
2016-10-24 21:09:39 +02:00
Daniele Gobbetti
cde09d71bc
Fixed KitKat crashes and changed to RelativeLayout. Using CCv2 as default launcher activity.
...
Added lost-device icon and action, added background to buttons.
Overflow reveal is now animated inside the card.
Bind connect and disconnect actions to device-icon (short press to connect/launch default activity; long press to disconnect).
2016-10-24 17:41:56 +02:00
Daniele Gobbetti
00938baf7d
Further refinements:
...
- disconnect by long-pressing device icon (temporary)
- use level-list to show battery level + charging
- remove padding around cards list
- use style colors for action icons (supports dark theme)
- add secondary text to the themes, even though the color is the same
- replace the info icon with three vertical dots
2016-10-21 17:44:36 +02:00
Daniele Gobbetti
371f0ecdd0
Use a new GUI for the controlcenter.
...
The existing logic was mostly ported to the new activity, with the exception of device deletion (and all TODOs).
2016-10-21 13:01:30 +02:00
cpfeiffer
4122e0c20c
Add button "Test New Functionality"
2016-10-11 23:35:58 +02:00
cpfeiffer
558c9e4664
Fiix visal glitch in weeksteps chart (first and last bar only partly visible)
2016-10-07 21:46:00 +02:00
Andreas Shimokawa
ed343778ee
cleanup Debug activity a bit, add Spinner and remove a lot of buttons
2016-10-03 20:51:28 +02:00
cpfeiffer
5bdc7933b3
Somewhat hacky support for Mi2 notification icons #323
2016-10-02 23:04:59 +02:00
Andreas Shimokawa
1f8cfa5a68
Vibratissimo: clear queue when setting vibration
2016-09-20 21:49:27 +02:00
Andreas Shimokawa
6a18d90fee
Vibratissimo: add simple and buggy activity with a slider for vibration control
...
Also includes some fixes and "find your device" support ;)
2016-09-20 20:28:52 +02:00
Daniele Gobbetti
aa2d37c76b
Small changes to the DB management activity #UX
2016-09-04 16:20:50 +02:00
Daniele Gobbetti
1e6cb67edd
UI refactoring of the DB management activity.
...
Added a method to delete the legacy DB only.
2016-08-31 17:35:28 +02:00
Daniele Gobbetti
6a2043eeb7
Create DB management activity by taking the existing functionalities from the debug activity.
2016-08-31 15:12:26 +02:00
Andreas Shimokawa
93b165ee96
onboarding: use the text area not the button itself for displaying the info text ;)
2016-08-29 00:32:36 +02:00
Andreas Shimokawa
07ee860b1c
add information to onboarding activity, make strings translatable
2016-08-29 00:17:40 +02:00
Andreas Shimokawa
ec4469a87b
Testing with dummy onboarding activity
...
crashes
2016-08-24 20:15:26 +02:00
cpfeiffer
9772d8af06
Merge remote-tracking branch 'origin/master' into db-refactoring
2016-06-19 21:14:03 +02:00
cpfeiffer
41e6833b2d
Getting closer... db migration almost works.
2016-06-18 01:26:36 +02:00
Andreas Shimokawa
b5693bcb45
play around with drag and drop list
2016-06-15 19:56:34 +02:00
Andreas Shimokawa
1d6a697000
playing around with fragments
2016-06-14 15:56:38 +02:00
Andreas Shimokawa
18fe09bb7c
make add icon on FAB white
2016-04-23 23:31:19 +02:00
cpfeiffer
290d695fec
Add margin for the shadow of the FAB
...
Also make the hint color grey, like in the discovery activity
2016-04-10 21:36:32 +02:00
Lem Dulfo
39cba84ab1
Apply gray images on non-connected devices in the list.
2016-04-10 21:11:52 +02:00
Lem Dulfo
e5726075a4
Rework device item layout
2016-04-10 21:11:52 +02:00
Lem Dulfo
eba1ee6dc6
Device disabled icons
2016-04-10 21:11:52 +02:00
Lem Dulfo
70ed14243f
Remove all getActionBar occurences, temporary fix for overlap
2016-04-10 21:11:52 +02:00
Lem Dulfo
83e6e6b85f
Add background image for empty ControlCenter
2016-04-10 21:11:41 +02:00
Lem Dulfo
5a3004cbce
AppCompat and FAB, more Material Design
2016-04-10 21:11:41 +02:00
cpfeiffer
a4919789ca
Add some progress to firmware updating #271 #234
...
Also: remove the low latency mode for firmware update,
because my Mi1S simply disconnects then.
Still missing in the view: device disconnects
2016-04-03 00:50:45 +02:00
Andreas Shimokawa
1603d60144
right align info icon in control center
2016-03-17 15:28:43 +01:00
cpfeiffer
e26e6d7b24
Display HR firmware version
...
Hide fw,hw,hr versions by default and show them on demand with an info
button.
2016-03-16 00:27:32 +01:00
Daniele Gobbetti
089a59168e
Initial support for using an external browser for configuring pebble apps. This allows existing configuration pages to work without having internet access ourselves.
...
This is a better approach as initially thought in #191 .
What is missing is outlined in the (several) TODOs.
2016-03-02 21:07:27 +01:00