Commit graph

181 commits

Author SHA1 Message Date
Daniel Bailey
d2f4591d4f Configuration activity for Note List Widget 2018-05-15 09:44:55 +02:00
Daniel Bailey
d895106c22 Dark theme
Configured night mode to allow for a dark theme within the app.
2018-04-17 09:24:21 +02:00
korelstar
a541775514 do not execute synchronization concurrently 2018-04-15 10:52:26 +02:00
Niedermann IT-Dienstleistungen
9185984249 Enhanced share dialog with chooser on >= Lollipop 2018-04-13 11:07:11 +02:00
Niedermann IT-Dienstleistungen
19a1795fa7 Remove bitmap drawables and let Android Studio generate the at buildtime
Tested on virtual Android 8.1, 5.0 and an API Level 14. 14 showed some visual glitches (Some minor parts of the icons are black) - But i think it's a good trade-off. Everything still works.
2018-04-12 19:43:17 +02:00
Niedermann IT-Dienstleistungen
a4b2a610cd Undo Swipe2Delete raised up to 7 seconds 2018-04-12 14:24:00 +02:00
Mario Danic
c0080c11f9 Remove flexible utils
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-12 14:18:42 +02:00
Mario Danic
e923c34225 Step 2 of awesome search magic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-12 14:18:42 +02:00
Mario Danic
aa6e1c6742 Awesome search stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-12 14:18:42 +02:00
Niedermann IT-Dienstleistungen
2cb9ad28ed Remove bitmap drawables and let Android Studio generate the at build time
Tested on virtual Android 8.1, 5.0 and an API Level 14. 14 showed some visual glitches (Some minor parts of the icons are black) - But i think it's a good trade-off. Everything still works.
2018-04-12 13:54:08 +02:00
Niedermann IT-Dienstleistungen
210824ba85 Remove bitmap drawables and let Android Studio generate the at build time
Tested on virtual Android 8.1, 5.0 and an API Level 14. 14 showed some visual glitches (Some minor parts of the icons are black) - But i think it's a good trade-off. Everything still works.
2018-04-12 13:26:45 +02:00
Niedermann IT-Dienstleistungen
849a5a0958 Eleminate not needed toast on HTTP 304
https://github.com/square/retrofit/issues/805#issuecomment-93426183
https://stackoverflow.com/a/23244575
2018-04-12 09:48:02 +02:00
Niedermann IT-Dienstleistungen
ce176157b6 Run AsyncTasks in parallel
Since API Level 11 AsyncTasks run single threaded per default. This causes some Time to wait, e. g. on the login screen, where the URL validator is still running before the login can be checked.

This change is supposed to speed up the login process.

The documentation basically says it is only careful in cases where the order of the execution is relevant, but i do not think this is a problem in our case since the AsyncTasks do not depend on each other.

https://developer.android.com/reference/android/os/AsyncTask.html
2018-04-12 08:32:41 +02:00
Mario Danic
79cb33b07e Few fixes to strings
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-11 18:26:31 +02:00
Niedermann IT-Dienstleistungen
45aeab0270 Introduce ButterKnife and code reformat
http://jakewharton.github.io/butterknife/
2018-04-11 15:37:28 +02:00
Niedermann IT-Dienstleistungen
39bc435458 Fix #366 WindowManager$BadTokenException 2018-04-11 12:14:18 +02:00
Niedermann IT-Dienstleistungen
ed84f1db62 Use settings icon instead of tune icon 2018-04-10 15:11:36 +02:00
Niedermann IT-Dienstleistungen
7ecfac6cda #333 Position of favorite star 2018-04-09 18:53:43 +02:00
Niedermann IT-Dienstleistungen
ec492b85ec #358 Better URL handling 2018-04-09 11:27:34 +02:00
Niedermann IT-Dienstleistungen
5d50b55af3 Remove permanent notification in favor of tile
Cleanup after #348 (Added support for a quick settings tile for creating a new note)
2018-04-06 20:56:36 +02:00
Dobli
cf3037e4e1 Adjusted quick tile to use EditNoteActivity 2018-04-06 20:36:17 +02:00
Dobli
2dc1841603 Added support for a quick settings tile to create a new note (only on Android 7.0+) 2018-04-06 20:36:17 +02:00
korelstar
baff508376 merge create and edit note activity 2018-03-15 11:44:19 +01:00
korelstar
d82af245db update App Bar labels 2018-03-12 12:11:09 +01:00
korelstar
e0fa2a848a update dependencies (android, support libraries, cert4android) 2018-03-11 06:52:40 +01:00
korelstar
e68dbe1e6d fix loading notes from widget 2018-03-02 21:08:16 +01:00
korelstar
62d15b4fd7 move appwidget-code into separate package 2018-02-28 19:28:57 +01:00
korelstar
42bc66aedd udpate to new ShareActionProvider from support lib 2018-02-28 10:36:46 +01:00
dan0xii
b273eed280 Moved widget update functions (#324) 2018-02-11 21:48:05 +01:00
korelstar
c3f4289a26 fix NPE in category dialog 2018-02-05 21:26:11 +01:00
korelstar
373ecaa13b fix widget creation 2018-02-05 20:47:56 +01:00
korelstar
d9c3bc68c3 refactor NoteFragments, category in ActionBar 2017-11-30 07:09:23 +01:00
dan0xii
11c26142b3 Widget cleanup, fix crash on deleted notes 2017-11-27 17:03:21 +01:00
korelstar
dc88558207 select category when opened in navigation 2017-11-26 12:19:14 +01:00
korelstar
98d0ab29dc categories in navigation drawer 2017-11-26 12:19:14 +01:00
korelstar
fdf43955db converts line-breaks (workaround for yydcdut/RxMarkdown#41) 2017-11-04 20:47:32 +01:00
korelstar
009ca40cd0 update dependencies 2017-11-01 21:16:13 +01:00
Daniel Bailey
c4e182b118 Note list widget
Widget to display all notes in the database, sorted by starred,
modified.

updateNoteListWidgets() used temporarily for widget updates until
content observer is implemented.

Move star icon to the right and adjust padding to match

Fixed update mechanism for NoteListWidget
2017-10-30 20:04:21 +01:00
Daniel Bailey
947f387b94 Single note widget scroll 2017-10-02 10:37:58 +02:00
Daniel Bailey
1468404d3e Fix to single note widget
Opening a note from the widget would have no effect if the user already had an editor
open for a different note. This change should check to see if a note is already being
edited, save and synchronise it and then present the new note for editing.
2017-09-26 21:00:54 +02:00
korelstar
7ead3f9e45 refactor autosave: replace Timer by Handler 2017-09-26 19:26:03 +02:00
Stefan Niedermann
4529801fce #244 Search should also include category of note 2017-09-17 11:10:17 +02:00
Daniel Bailey
e09512ae3f Remove unnecessary if/else statement
Removed bool test of isInitialised.
Small change to manifest.
2017-09-13 21:55:32 +02:00
schaarsc
426103b971 use string for preference key/value 2017-09-11 20:22:01 +03:00
schaarsc
2f4a7aa71d don't call saveData if data has not changed 2017-09-11 18:16:27 +02:00
korelstar
d12923d1d6 fix menu label and order 2017-09-07 21:36:02 +02:00
schaarsc
23d9aa24e5 Fix rotation of note activity 2017-09-07 21:21:33 +02:00
schaarsc
afe4732664 use style to set text color in AlertDialog. 2017-09-03 17:45:57 +02:00
schaarsc
a948077466 Align L&F of category and starts.
- Menu items are shown in Edit and Preview Mode
- Update is done without callback
2017-09-03 17:45:19 +02:00
korelstar
400de7c8ca code formatting and quality 2017-09-02 21:16:05 +02:00