Commit graph

549 commits

Author SHA1 Message Date
tibbi
93e37ec8e6 make obtaining photo and video asynchronous 2016-11-19 22:05:44 +01:00
tibbi
828b4f4256 handle swipe to refresh inline 2016-11-19 21:22:48 +01:00
tibbi
80a1d286e6 handle image clicks 2016-11-19 21:18:52 +01:00
tibbi
66ba8f735a add copy/move 2016-11-19 21:08:35 +01:00
tibbi
c58811a8ce update the getSelectedMedia function 2016-11-19 21:01:31 +01:00
tibbi
c93cfcc729 add file deletion 2016-11-19 20:27:29 +01:00
tibbi
3049e8f1e8 add Share functionality to images 2016-11-19 19:57:08 +01:00
tibbi
f1c5699fe6 add the Properties cab 2016-11-19 19:45:38 +01:00
tibbi
e635be89db allow selecting multiple media items 2016-11-19 19:38:05 +01:00
tibbi
0824c66784 change the media gridview to recyclerview 2016-11-19 19:20:50 +01:00
tibbi
4b243b5498 rename "columns" resource to "directory_columns" 2016-11-19 17:34:50 +01:00
tibbi
c6a8ff4b2f cleaning up MediaActivity 2016-11-19 16:07:44 +01:00
tibbi
4d8b494c68 make sure we close the cursor 2016-11-19 15:36:36 +01:00
tibbi
02297cc33d add some description to the Image Cropper library 2016-11-19 14:50:39 +01:00
tibbi
f4db0c7898 remove Butterknife 2016-11-19 14:49:04 +01:00
tibbi
e14f002596 convert MediaActivity to kotlin, initial version 2016-11-19 14:46:07 +01:00
tibbi
4b5063a1b0 add a confirmation dialog before deleting from folders page and viewpager 2016-11-19 13:52:54 +01:00
tibbi
63dc2b5184 add an icon to the Copy action at the menu 2016-11-19 11:45:45 +01:00
Tibor Kaputa
aa29c5b6d8 be more responsive at calculating column cnt 2016-11-18 14:57:30 +01:00
Tibor Kaputa
252992a6cb set mainactivity as resizeable 2016-11-18 14:50:04 +01:00
Tibor Kaputa
7854f75f22 make fragment click listener nullable 2016-11-18 14:32:53 +01:00
tibbi
47d111c642 some code style edits 2016-11-17 19:47:54 +01:00
tibbi
accf45bc83 replace photoview license with Subsampling scale image view 2016-11-17 19:08:30 +01:00
tibbi
af970a459c refresh the folders list after copy too 2016-11-17 17:18:14 +01:00
tibbi
e5f9ea9627 fix Directory and media sorting 2016-11-17 17:05:43 +01:00
tibbi
fa4cadebb4 check if new file/dir names are valid 2016-11-17 16:23:49 +01:00
tibbi
83dc85e63b simplify sendsuccess at renaming dir 2016-11-17 16:11:11 +01:00
tibbi
06f7d8d29d do not try displaying empty files 2016-11-17 15:56:50 +01:00
tibbi
db04516773 use lowercase paths at deleting folders 2016-11-17 15:55:39 +01:00
tibbi
639c3d57c6 shortening a function 2016-11-17 15:20:04 +01:00
tibbi
6a80ab4473 make sure directory name and photo cnt display properly 2016-11-17 15:09:28 +01:00
tibbi
6ee959d2a4 make sure About us is displayed properly in rtl layout 2016-11-17 15:06:01 +01:00
tibbi
f65b5013ab add delete handling 2016-11-17 15:02:59 +01:00
tibbi
18bad5106a properly store hidden folders 2016-11-17 14:14:19 +01:00
tibbi
8c57a00947 one minor style change 2016-11-17 14:00:58 +01:00
tibbi
c525a0ebc7 properly display the albums at album picker 2016-11-17 13:46:24 +01:00
tibbi
af246cdcf0 add dir copying/moving 2016-11-17 13:11:49 +01:00
tibbi
53aa8e86d7 remove fileproperties from mainactivity 2016-11-17 12:37:04 +01:00
tibbi
b759f71363 implement file properties dialog 2016-11-17 12:36:27 +01:00
tibbi
a842d4daf7 implement folder un/hiding 2016-11-17 12:02:04 +01:00
tibbi
4394e6074e display hide/unhide menu buttons when appropriate 2016-11-17 11:54:17 +01:00
tibbi
53ed959e63 show the edit cab on initial selection 2016-11-17 11:14:15 +01:00
tibbi
60596b7e5c use isActivated for selecting items 2016-11-17 11:12:58 +01:00
tibbi
06c3645bf9 allow renaming dirs 2016-11-17 11:07:00 +01:00
tibbi
cc7c6a1e24 make sure unselecting items work on all android versions 2016-11-17 10:45:52 +01:00
tibbi
258c49eeb8 allow selecting multiple directories 2016-11-17 10:35:51 +01:00
tibbi
06f345240a ditch the recyclerview parcelable state holder 2016-11-16 23:59:25 +01:00
tibbi
cd4d98d386 go to the selected directory on click 2016-11-16 23:57:27 +01:00
tibbi
6c4ec53cc1 replace directory baseadapter with recyclerview adapter 2016-11-16 23:50:46 +01:00
tibbi
9616e914b9 convert MainActivity to kotlin, part 1 2016-11-16 20:00:58 +01:00
tibbi
5592a040c3 decrease the mininum tile dpi to 100 at fullscreen images 2016-11-15 19:31:57 +01:00
tibbi
733d8e58d9 move the UI toggle functions out of extensions, as they arent 2016-11-14 23:14:35 +01:00
tibbi
35fb696d30 set the default mimetype to image/jpeg 2016-11-14 23:10:57 +01:00
Lonami Exo
bb346fbdc0 Fixed #57 and added auto-detect mime-type when setting wallpaper 2016-11-14 20:32:02 +01:00
tibbi
8e61e46a90 simplify the config creation 2016-11-14 18:55:48 +01:00
tibbi
c524044d11 crashfix at getRealPathFromURI 2016-11-14 18:22:42 +01:00
tibbi
930150416c convert Constants to kotlin 2016-11-13 23:13:41 +01:00
tibbi
4a2ecc15a0 convert VideoFragment to kotlin 2016-11-13 23:02:19 +01:00
tibbi
e2938a59ec some smaller adjustments here and there 2016-11-13 22:13:16 +01:00
tibbi
376089984c convert viewpagerfragment to kotlin 2016-11-13 22:06:39 +01:00
tibbi
aa36c42f13 convert PhotoFragment to kotlin 2016-11-13 22:00:33 +01:00
tibbi
8cc9c27416 convert ChangeSortingDialog to kotlin 2016-11-13 21:43:56 +01:00
Sérgio Marques
77ce470fed Update strings.xml 2016-11-13 18:07:43 +00:00
Sérgio Marques
e1e76370b7 Update strings.xml 2016-11-13 11:11:04 +00:00
tibbi
ed2f9117bb be incasesensitive when comparing directory paths 2016-11-13 11:55:24 +01:00
tibbi
04e3ea1fb2 use the extension function for checking root folders 2016-11-13 11:45:43 +01:00
tibbi
e013cc02a4 do not allow renaming the root folder of a storage 2016-11-13 11:40:12 +01:00
tibbi
9b8420e9d1 check for already existing folder at renaming 2016-11-13 11:28:34 +01:00
tibbi
09231c516c display proper directory names at storage root folders 2016-11-13 11:17:01 +01:00
tibbi
4d324e491e convert myviewpager and myimageview to kotlin 2016-11-13 11:01:21 +01:00
tibbi
856913520a convert Config to Kotlin + move Utils 2016-11-13 10:58:10 +01:00
tibbi
c6779c8047 convert AboutActivity to kotlin 2016-11-13 10:50:36 +01:00
tibbi
57836b229d add filepicker and fileproperties licenses 2016-11-13 10:33:33 +01:00
tibbi
d2a8aca830 update the order of chinese strings 2016-11-13 10:20:00 +01:00
tcg2008
83be878d50 test-pr 2016-11-13 16:24:08 +08:00
tibbi
eb218f6fa6 rename intent data to resultdata 2016-11-12 23:45:40 +01:00
tibbi
8ccb0385ca move system UI toggling into extensions 2016-11-12 23:27:10 +01:00
tibbi
493ba31c5f convert PhotoVideoActivity to kotlin 2016-11-12 23:11:52 +01:00
tibbi
719c510f59 convert ViewPagerActivity to kotlin 2016-11-12 23:01:57 +01:00
tibbi
cec3e5f640 Portuguese string updates by smarquespt 2016-11-12 21:55:33 +01:00
tibbi
a6bca1ae88 renaming a string 2016-11-12 21:43:22 +01:00
tibbi
afb722ab24 let the user know if not all files have been copied/moved 2016-11-12 21:33:46 +01:00
tibbi
c8b927e7e1 put copy/move above Delete at media screen 2016-11-12 20:42:56 +01:00
tibbi
d2546e1a3e delete only media files at deleting a folder 2016-11-12 20:34:21 +01:00
tibbi
34d015734e add some checks to avoid displaying nonexistant files 2016-11-12 20:29:47 +01:00
tibbi
f548ed833a change copymovetask interface to inline 2016-11-12 20:11:41 +01:00
tibbi
7c3ad32dee allow copying and moving only photo and video files with the gallery 2016-11-12 19:57:18 +01:00
tibbi
84613885ef convert Medium to kotlin + Directory updates 2016-11-12 19:26:01 +01:00
tibbi
a5deb81e58 update the copy task related things 2016-11-12 19:10:05 +01:00
tibbi
36aaf03541 update the copy task 2016-11-12 17:52:35 +01:00
tibbi
d4855573c9 readd the Move button 2016-11-12 16:50:05 +01:00
tibbi
93b8281cfb some mediascan adjustments 2016-11-12 15:24:40 +01:00
tibbi
75beef4da6 using a few more extension functions 2016-11-12 12:16:50 +01:00
tibbi
c4edf3c28e replace a couple more extension functions 2016-11-12 12:12:05 +01:00
tibbi
bf94d8172c remove the local write permissions dialog related stuff 2016-11-12 12:07:07 +01:00
tibbi
9e5936b8a0 make use of some of the new extension functions 2016-11-12 12:04:38 +01:00
tibbi
e3cc1b91cc rely on some extension functions from the filepicker library 2016-11-11 23:40:33 +01:00
tibbi
4b12949a73 humanize the paths at rename dialogs 2016-11-11 00:01:08 +01:00
tibbi
48f5a33f90 remove some non translatable strings from the Portuguese file 2016-11-10 23:54:09 +01:00
tibbi
0959403628 convert a couple simple activity to kotlin, no functionality change 2016-11-10 23:19:04 +01:00
tibbi
d4c75c2107 add the actual filename visibility toggle functionality 2016-11-10 22:57:17 +01:00
tibbi
af3d247b7f use the inherited mConfig variable 2016-11-10 22:44:05 +01:00
tibbi
805f726022 add a menu item for toggling filename visibility 2016-11-10 21:39:07 +01:00
tibbi
4e9dc8e85f the background at video controls should be gradient too 2016-11-10 21:29:47 +01:00
tibbi
534ff0ab7d make the directory bottom background gradient 2016-11-10 21:27:01 +01:00
tibbi
d80a1bd185 remove the file.canWrite check 2016-11-10 21:22:02 +01:00
tibbi
3e2cfe90bc handle 3 line filenames properly 2016-11-10 20:55:28 +01:00
tibbi
8f85b5da2f do not show the permissions dialog to prekitkat devices 2016-11-10 20:50:38 +01:00
tibbi
c609072eaf display a file name at the media activity 2016-11-10 20:46:11 +01:00
Lonami Exo
d6dd6210c7 Fixed #50 for reals (treeUri needs to be set at least once, always) 2016-11-10 20:41:13 +01:00
tibbi
93d4353d42 move the play outline of thumbnails to the right top corner 2016-11-10 20:23:32 +01:00
tibbi
6f2ef95b40 add a constant for displaying file names 2016-11-10 20:20:29 +01:00
tibbi
1710590639 removing a weird file creation 2016-11-10 20:06:36 +01:00
tibbi
a971b215a5 notify the user when the copy fails or succeeds 2016-11-10 20:02:06 +01:00
tibbi
dfae308cc7 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2016-11-10 18:57:34 +01:00
tibbi
8108a109dc fix #50, make sure we have SD write permission before deleting a folder 2016-11-10 18:57:09 +01:00
Sérgio Marques
855daa4675 Portuguese update 2016-11-09 23:14:36 +00:00
tibbi
96b25a43b8 make "Save as" the only saving option in the editor 2016-11-09 23:37:39 +01:00
tibbi
267317c7c2 use date_modified instead of date_taken everywhere 2016-11-09 23:20:18 +01:00
tibbi
fa14b43e3e comment out Move function for now 2016-11-09 23:02:13 +01:00
tibbi
beba22b764 refresh the directories view after copying 2016-11-09 22:58:13 +01:00
tibbi
c176959305 add a copy menu button at folder view too 2016-11-09 22:47:27 +01:00
tibbi
8487ef44c4 add a copy/move menu item to media activity 2016-11-09 22:27:13 +01:00
tibbi
d7ffc35dd0 store the real destination path in a variable 2016-11-09 21:19:46 +01:00
tibbi
d6fd4ad378 humanize the selected copy destination link too 2016-11-09 21:15:11 +01:00
tibbi
2c7d62c863 add a dialog for picking the copy destination 2016-11-09 21:10:08 +01:00
tibbi
3804f3d8f4 autoplay videos only if set so 2016-11-08 23:08:35 +01:00
tibbi
9b809790f9 create the copy dialog at viewpageractivity 2016-11-08 23:00:09 +01:00
tibbi
c6598528fd add a couple things related to file copying 2016-11-08 21:49:54 +01:00
tibbi
fbe1409862 add a pickAlbumActivity for picking copy destination 2016-11-08 20:08:39 +01:00
tibbi
10e197af95 zoom in a bit less on double tap 2016-11-08 19:09:26 +01:00
tibbi
f25ae4f1b7 set the default folder sorting by date, descending 2016-11-08 00:03:38 +01:00
tibbi
57048d3956 update some Spanish strings, by Felipe Criado 2016-11-08 00:01:48 +01:00
tibbi
f2e13e9cb3 fix SD card detecting 2016-11-07 23:59:08 +01:00
tibbi
5cb0bb904f close #44, add "Save as" to the editor 2016-11-06 23:52:57 +01:00
tibbi
90d704cff4 add a Save as button to the editor 2016-11-06 21:52:43 +01:00
tibbi
a31533418d fix #45, display proper filename when opening an item from Downloads folder 2016-11-06 21:42:23 +01:00
tibbi
a5da407ed3 delete files from main screen more carefully, and not recursively 2016-11-06 21:32:36 +01:00
tibbi
c7408fb9fe move directory rename dialog in a separate file 2016-11-06 21:16:41 +01:00
tibbi
fc8f8c3fa7 rename RenameItemDialog to RenameFileDialog 2016-11-06 20:53:34 +01:00
tibbi
0ade1ec579 check write permissions before starting the deletion 2016-11-06 20:49:47 +01:00
tibbi
6c9c072dc9 create a helper function for displaying stupid kitkat permissions dialog 2016-11-06 20:36:55 +01:00
tibbi
c71f94d9ec handle open_documet_tree activityresult in shared simpleactivity 2016-11-06 19:53:02 +01:00
tibbi
fb59224405 convert simpleactivity to kotlin 2016-11-06 19:44:26 +01:00
tibbi
dd983c9753 handle kitkat permissions at saving edited photos 2016-11-06 19:40:03 +01:00
tibbi
84f81ed3e2 check kitkat sd permission before deleting from viewpager 2016-11-06 19:03:59 +01:00
tibbi
a70e99da34 move RenameItemDialog in a separate file 2016-11-06 18:45:33 +01:00
tibbi
7ba442e32e fix renaming files from the viewpager 2016-11-06 17:10:42 +01:00
tibbi
32fe796d66 update the video autoplay strings 2016-11-06 16:36:37 +01:00
tibbi
3ec6bd3a94 convert utils to kotlin 2016-11-06 16:35:45 +01:00