246 Commits

Author SHA1 Message Date
tibbi
4ab6f9e807 make intent not nullable 2017-06-17 21:42:05 +02:00
Nikola Trubitsyn
d5955c67a3 Implement sharing to a new note 2017-06-17 17:29:53 +03:00
tibbi
de13dbd5c8 add some null checks at getting current text 2017-06-16 20:22:37 +02:00
tibbi
45e2e0c530 minor code style update 2017-06-16 18:13:13 +02:00
Nikola Trubitsyn
1741070686 Avoid crash when clicking with text selected and links enabled 2017-06-15 21:22:29 +03:00
tibbi
5ec40cbd9e move the cursor to the end of note 2017-06-14 22:26:25 +02:00
tibbi
fddf164932 update commons to 2.19.6 2017-06-14 21:59:27 +02:00
Nikola Trubitsyn
a9e466406c Fix #88 2017-06-13 22:28:59 +03:00
tibbi
a6dc7aebef fix #80, prevent crashes at rotating with some dialog open 2017-04-18 23:22:41 +02:00
tibbi
d6b4fbd9e8 make a fragment nullable at saving text 2017-04-18 23:14:22 +02:00
tibbi
74b818b6a5 fix #76, properly display the keyboard at creating a new note 2017-04-18 23:03:02 +02:00
tibbi
39fb4c6284 update commons to 2.16.9 2017-04-18 22:54:45 +02:00
tibbi
db256dbbb0 fix #75, wrap the notes in a scrollview 2017-04-01 19:27:20 +02:00
tibbi
8148107ed4 remove the text change listener for making links clickable, can cause bugs 2017-03-30 23:28:52 +02:00
tibbi
5db4ed8b92 change "Save as file" to "Export as file" to make it clear its not synced 2017-03-19 00:02:36 +01:00
tibbi
70550d022e open the widget note after clicking on the widget 2017-03-18 23:50:49 +01:00
tibbi
255a5ade89 handle the SAF dialog when opening a note from SD card with sync 2017-03-18 23:19:05 +01:00
tibbi
a25f826c5a update commons to 2.13.4 2017-03-18 23:10:15 +01:00
tibbi
be300057c0 use constants at Settings dialogs 2017-03-10 22:24:05 +01:00
tibbi
faa427a493 adding a crashfix to save as 2017-03-10 21:27:54 +01:00
tibbi
4720ba6a4b use the new radiogroup dialog at setting current widget note 2017-03-10 21:19:07 +01:00
tibbi
05ea84c743 move a context extension for getting text gravity into a private function 2017-03-10 00:15:44 +01:00
tibbi
df353031ae show proper file note text on widgets 2017-03-10 00:11:57 +01:00
tibbi
2ad38bf411 change Gravity setting to a dialog too 2017-03-09 23:53:11 +01:00
tibbi
4262446d3a replace the Font size spinner in Settings with a dialog 2017-03-09 23:45:47 +01:00
tibbi
05099e4753 delete the note file if chosen so 2017-03-09 22:32:31 +01:00
tibbi
dff96b04f1 create a special confirmation dialog for note deletion 2017-03-09 22:27:08 +01:00
tibbi
4420dc0b60 do not split the filename at Save As to filename and extension 2017-03-09 22:03:35 +01:00
tibbi
c5db35da8d couple corrections to note saving 2017-03-09 21:25:03 +01:00
tibbi
472a75e5c9 disable success dialog by default 2017-03-09 21:05:54 +01:00
tibbi
f75f460be5 add an icon to file notes 2017-03-09 20:37:24 +01:00
tibbi
0f67840897 rewrite the Open Note dialog to a custom linearlayout 2017-03-09 19:49:30 +01:00
tibbi
4f5b8f039f fix saving notes on sd card 2017-03-09 19:13:22 +01:00
tibbi
5ed43bb870 add some renaming related stuff 2017-03-08 23:21:40 +01:00
tibbi
59e29c2452 remove not existing files from internal db 2017-03-08 23:06:06 +01:00
tibbi
ae4e811ab7 make the save success message optional 2017-03-08 22:29:02 +01:00
tibbi
13d09de4be display success toast at saving notes 2017-03-08 22:22:59 +01:00
tibbi
b2dec578f8 fetch the proper file content for file types 2017-03-08 22:13:39 +01:00
tibbi
c5fc3d2bd5 save note to file at pause, if its a file note 2017-03-08 22:05:21 +01:00
tibbi
6585cf0b2f store the note value in db only if its not linked to a file 2017-03-08 21:49:45 +01:00
tibbi
c0617d518a add note path only if we want to update the file content itself 2017-03-08 20:59:29 +01:00
tibbi
4b0f90a20a add a new dialog for importing files 2017-03-08 20:43:18 +01:00
tibbi
588b5b08f2 ask write storage permissions instead of read ones at opening a file 2017-03-08 20:09:36 +01:00
tibbi
6311a195c2 store the file path in db, if a file was open 2017-03-08 20:08:43 +01:00
tibbi
8ae1a99379 parse the Path field of notes too 2017-03-08 20:05:59 +01:00
tibbi
d29473aa47 do not allow opening videos and images 2017-03-08 19:44:21 +01:00
tibbi
0c8003105a write the text to the selected file 2017-03-07 23:46:09 +01:00
tibbi
6e67949f0a show a Save as dialog at selecting "Save as file" 2017-03-07 22:28:40 +01:00
tibbi
9a0530bf83 handle storage permissions before trying to save note as file 2017-03-07 20:33:12 +01:00
tibbi
78f6cfcbde make the existing title checking incasesensitive 2017-03-07 20:30:03 +01:00