Commit Graph

259 Commits

Author SHA1 Message Date
Alinson Xavier
b601a643dd Merge branch 'feature/dark-theme' into dev 2016-04-15 18:29:39 -04:00
Alinson Xavier
90e513e778 Remove warning when palette cannot be found 2016-04-15 18:26:01 -04:00
Alinson Xavier
728c9557f0 Migrate DB to new color format 2016-04-15 18:25:30 -04:00
Alinson Xavier
97711087f9 Fix invisible text on widgets 2016-04-15 17:49:10 -04:00
Alinson Xavier
b42565b770 Backport dark theme to pre-lollipop devices 2016-04-13 11:54:24 -04:00
Alinson Xavier
3de702ced2 Fix colors in About screen 2016-04-13 10:44:11 -04:00
Alinson Xavier
42f7f4042d Add option for AMOLED night mode 2016-04-13 10:38:20 -04:00
Alinson Xavier
2115a590f2 Add fade transition when switching themes 2016-04-13 09:53:37 -04:00
Alinson Xavier
6d5a8f5753 Merge branch 'sciamano-day-of-week' into dev 2016-04-12 23:29:10 -04:00
Alinson Xavier
06fc04092b Code cleanup 2016-04-12 23:21:00 -04:00
Denis
24c02605d1 Select first day of week according to the current locale 2016-04-12 23:11:32 -04:00
Alinson Xavier
11fcb67624 Improve custom views' colors 2016-04-11 18:11:18 -04:00
Alinson Xavier
52c07660b1 Implement menu item to switch between themes 2016-04-10 10:41:52 -04:00
Alinson Xavier
35f778c376 Do not use habit color as primary color on dark themes 2016-04-10 08:32:01 -04:00
Alinson Xavier
5c683a77c2 Fix ripple on ListHabitsFragment 2016-04-10 08:13:05 -04:00
Alinson Xavier
dd1f6c9efc Change habit.color palette according to current theme 2016-04-09 20:01:35 -04:00
Alinson Xavier
04e8432522 Widgets: show error message instead of crashing 2016-04-09 05:27:39 -04:00
Alinson Xavier
38fc7650b9 Update translations 2016-04-09 05:08:02 -04:00
Alinson Xavier
cf06ec0a4b Fix chart colors 2016-04-09 04:58:26 -04:00
Alinson Xavier
f0701f7b35 First version of dark theme 2016-04-08 17:15:14 -04:00
Alinson Xavier
ac885e1503 Refactor ListHabitsFragment layouts and styles 2016-04-08 15:50:51 -04:00
Alinson Xavier
c08702341a Update Spanish translations 2016-04-07 17:23:01 -04:00
Alinson Xavier
abb8c09bc9 Update widgets after executing command 2016-04-07 17:15:33 -04:00
Alinson Xavier
87255ceb25 RingView: invalidate after updating percentage and color
Fixes #79
2016-04-07 17:02:02 -04:00
Alinson Xavier
aedbfded0f Show POEditor link if language is not fully translated 2016-04-06 06:33:52 -04:00
Alinson Xavier
7bba6a887f Increase width of chart labels as needed 2016-04-05 08:11:37 -04:00
Alinson Xavier
b29c7e695a Save failed views to SD card root if writable 2016-04-05 05:47:09 -04:00
Alinson Xavier
af3b18f518 Fix incorrect date format for some languages 2016-04-04 19:05:24 -04:00
Alinson Xavier
50a8aece6f Move expensive call to background thread 2016-04-04 08:18:59 -04:00
Alinson Xavier
132ce36a57 More detailed logs in case getFilesDir fails 2016-04-04 07:58:07 -04:00
Alinson Xavier
e2e9e2e27a Remove debug code 2016-04-04 06:54:12 -04:00
Alinson Xavier
83db9fe2f2 Hide progress bar on startup 2016-04-04 06:46:16 -04:00
Alinson Xavier
9891139b5a Fix tests on ICS 2016-04-04 06:43:42 -04:00
Alinson Xavier
cbc8cbfea3 Fix scores with null habit 2016-04-04 06:02:56 -04:00
Alinson Xavier
96c46b655d Minor refactoring 2016-04-04 05:43:07 -04:00
Alinson Xavier
0de52d4fa3 BaseTask: move register/unregister to onPre/PostExecute 2016-04-04 05:42:27 -04:00
Alinson Xavier
c51b1fd399 Remove progress bar; switch to BaseTask 2016-04-03 07:51:54 -04:00
Alinson Xavier
eb8dd1d450 Simplify and optimize loading time of ShowHabitFragment 2016-04-03 07:46:08 -04:00
Alinson Xavier
357646152f Use postInvalidate instead of invalidate 2016-04-03 07:27:37 -04:00
Alinson Xavier
ae5be202b2 Add convenience methods for tracing 2016-04-03 07:27:16 -04:00
Alinson Xavier
cc3e2153d0 Allow BaseTask to publish integer progress 2016-04-03 07:26:40 -04:00
Alinson Xavier
7433a2413d Refactor BaseTask interface 2016-04-03 06:45:10 -04:00
Alinson Xavier
1cd8eb6849 NumberView: do not request layout on setNumber 2016-04-03 05:11:45 -04:00
Alinson Xavier
2d2bb8b4ed Render widgets in background 2016-04-02 13:32:04 -04:00
Alinson Xavier
e476096ae1 Fix view tests 2016-04-02 11:47:28 -04:00
Alinson Xavier
e2c814a982 Fix ShowHabitFragment and HistoryEditorDialog 2016-04-02 10:48:33 -04:00
Alinson Xavier
4fcaa68baf Throw exception when slow methods are executed on the main thread 2016-04-02 10:27:45 -04:00
Alinson Xavier
02e45dbe27 Rename DialogHelper to UIHelper 2016-04-02 10:14:21 -04:00
Alinson Xavier
bf6562f854 Update views on background thread 2016-04-01 17:50:14 -04:00
Alinson Xavier
3c927e009a Improve performance of Score computation 2016-04-01 17:49:17 -04:00