Commit graph

750 commits

Author SHA1 Message Date
tibbi
81f543f792 add a directory check at renaming 2016-12-11 22:33:26 +01:00
tibbi
9bb9e3496c store the amount of columns 2016-12-11 21:54:40 +01:00
tibbi
72381ba53d allow changing directory column cnt too 2016-12-11 21:38:15 +01:00
tibbi
f2074a4d16 move zoom handling into an own function 2016-12-11 21:35:05 +01:00
tibbi
b9d5c004e0 allow changing grid column count by pinching 2016-12-11 21:22:07 +01:00
tibbi
a077e36831 show Delete as the first icon at long pressing media 2016-12-11 19:43:09 +01:00
Tibor Kaputa
4396e4340f Merge pull request #87 from smarquespt/master
Portuguese update
2016-12-11 11:00:11 +01:00
tibbi
cf750b6253 add some links to more strings 2016-12-11 10:59:05 +01:00
Sérgio Marques
56d526abe0 Portuguese update 2016-12-11 02:00:49 +00:00
tibbi
af9b5bd81e update some strings 2016-12-10 23:47:40 +01:00
tibbi
2e88f83844 add the functionality to filter images or videos only 2016-12-10 23:38:07 +01:00
tibbi
ce4c098e32 add a spinner for displaying images or videos only 2016-12-10 21:16:53 +01:00
Taras
ccd019e5bc Update Russian 2016-12-10 17:35:08 +03:00
tibbi
960267c543 updated the About activity 2016-12-10 11:20:47 +01:00
tibbi
a97ed6cb03 add some new strings 2016-12-10 11:18:09 +01:00
Taras
fbc29174be Update Russian
new item translated. playstore description translation variant added
2016-12-10 03:49:38 +03:00
Sérgio Marques
d053f163e7 Portuguese update 2016-12-09 23:10:20 +00:00
tibbi
0926c60dd3 animate directory removal too 2016-12-08 22:53:04 +01:00
tibbi
ca62b62bec add some animations at item deleting 2016-12-08 22:46:28 +01:00
tibbi
7fe6d616c0 add Select all to media screen 2016-12-08 22:01:35 +01:00
tibbi
c449ce43a5 lets actually remove Deselect all, there is the back button for it... 2016-12-08 21:31:48 +01:00
tibbi
26dfea3adb add cab buttons for de/selecting all items 2016-12-08 21:27:13 +01:00
tibbi
5c9c0d4ac9 replace some functions with filepicker extensions 2016-12-08 21:02:40 +01:00
tibbi
31f42118bb update filename in mediastore at Rename 2016-12-08 20:40:26 +01:00
tibbi
06e1796902 check SD card permissions also if moving files from SD card 2016-12-08 19:02:35 +01:00
Sérgio Marques
99eb0ab5e0 Portuguese update 2016-12-07 22:55:02 +00:00
tibbi
dad7404fdc remove a redundant variable 2016-12-07 20:51:22 +01:00
tibbi
86d9652204 update deleted files from media screen manually 2016-12-07 20:50:19 +01:00
tibbi
5df874ff43 update the deletefiles function with stdlib 2016-12-07 20:37:37 +01:00
tibbi
b28f7dcc78 remove the Undo option at removing from media view 2016-12-07 20:36:42 +01:00
tibbi
62d11861ca update mediastore after deleted files manually 2016-12-07 20:17:18 +01:00
tibbi
1ae4e0cc02 update renamed videos properly too 2016-12-07 19:37:39 +01:00
tibbi
4a2d8076d0 do now show the old folder after renaming 2016-12-07 19:31:00 +01:00
tibbi
e319bb1623 update mediastore after a rename manually, so its instant 2016-12-07 19:16:50 +01:00
tibbi
9f83e19db7 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2016-12-07 18:21:15 +01:00
tibbi
89ba36e590 specify directory font size explicitly 2016-12-07 18:20:58 +01:00
Taras
19a7dfde30 Update Russian
corrections and new translations
2016-12-07 10:28:44 +03:00
tibbi
74d8287333 add an Edit button to media cab 2016-12-06 23:30:22 +01:00
tibbi
ade06101a5 add a Rename action button to the media screen 2016-12-06 22:53:11 +01:00
tibbi
4abc2d4b59 rename directory cab_edit to cab_rename 2016-12-06 22:40:09 +01:00
tibbi
1ed45dcc3d update the actionbar title after renaming an item 2016-12-06 22:35:37 +01:00
tibbi
6c5a428b40 split filename and extension at save dialog 2016-12-06 22:31:17 +01:00
tibbi
ae927425aa reload the viewpager after editing an image 2016-12-06 22:13:09 +01:00
tibbi
6449316f47 resize the saved image if wanted so 2016-12-06 22:09:40 +01:00
tibbi
d53000b667 validate the inserted resolution 2016-12-06 22:00:22 +01:00
Tibor Kaputa
7147ed3b7b Merge pull request #78 from mcbaze/patch-3
Update Russian
2016-12-06 20:56:51 +01:00
tibbi
e99451b2f0 flip width and height if the image is rotated 2016-12-06 20:55:11 +01:00
tibbi
900dbbff32 properly update the Resize dialog values if we are keeping aspect ratio 2016-12-06 20:50:16 +01:00
Taras
b6d957ec02 Update strings.xml 2016-12-06 22:30:43 +03:00
Taras
9fbf3ec5c6 Update Russian
translation of added items
2016-12-06 22:19:49 +03:00
tibbi
6d32e55bf4 creating the resize dialog 2016-12-06 20:15:33 +01:00
tibbi
463992a80d add some Resize related assets 2016-12-06 19:06:54 +01:00
tibbi
4c0a0a43b8 add Camera, Settings and About to ShowAll actionbar 2016-12-06 18:11:15 +01:00
tibbi
3e779c0a98 move some activity intent actions to SimpleActivity 2016-12-06 18:03:27 +01:00
tibbi
6f11b05e25 store Show All in shared prefs making it permanent 2016-12-06 17:59:54 +01:00
tibbi
73cd9a5638 initialize viewpager mMedia at creation 2016-12-06 17:35:05 +01:00
tibbi
7ff2d43f64 handle showAll at viewpager properly 2016-12-06 17:29:12 +01:00
tibbi
dd3709f7ff add a string for switching back to normal folder view 2016-12-06 17:18:33 +01:00
tibbi
b1fa8bca89 show all media files in the appropriate section 2016-12-06 17:14:54 +01:00
tibbi
c3e3d550d1 add a couple things related to displaying all media at once 2016-12-06 16:57:17 +01:00
tibbi
105866987d allow copying items in folders that contain no media, fix #62 2016-12-06 16:18:50 +01:00
tibbi
c26ef0e513 display vertical scrollbars at scroll 2016-12-06 10:09:34 +01:00
Taras
bc76fcf250 Update Russian
add translation for new items. some corrections
2016-12-06 11:01:29 +03:00
tibbi
a2c485cbe8 check null displayname 2016-12-06 00:06:28 +01:00
tibbi
f0f07d9c8d fix some crashes related unitialized lateinit variable 2016-12-06 00:04:27 +01:00
Tibor Kaputa
32a91a7de9 Merge pull request #76 from smarquespt/master
Portuguese update
2016-12-05 23:48:08 +01:00
tibbi
2b8d644388 fix some issues at Moving files 2016-12-05 23:46:55 +01:00
tibbi
3d6329766a remove a redundant variable 2016-12-05 23:21:06 +01:00
Sérgio Marques
3899b1538b Portuguese update 2016-12-05 22:19:09 +00:00
tibbi
d0e81a3410 wait for mediascanner at some callbacks 2016-12-05 23:17:02 +01:00
tibbi
609cfbd580 implement the sorting by date taken 2016-12-05 22:51:13 +01:00
tibbi
438d987e3f move some Renaming strings into an own category 2016-12-05 22:27:10 +01:00
tibbi
835b0d694e move a couple strings into a Sorting category 2016-12-05 22:22:58 +01:00
tibbi
f4fb14f1fe change sorting Date to Last modified and add Date taken 2016-12-05 22:18:58 +01:00
tibbi
8a24eeba86 store the date_taken at media and directories 2016-12-05 22:14:51 +01:00
tibbi
b0c9d72044 rename timestamp of media and directories to date_modified 2016-12-05 22:07:44 +01:00
tibbi
e6585180c3 show pin/unpin actionmenu item only when needed 2016-12-05 21:58:46 +01:00
tibbi
830f456359 update the hidden folders check 2016-12-05 21:50:16 +01:00
tibbi
411ae47136 move pinned items to front 2016-12-05 21:48:49 +01:00
tibbi
0857391189 update some functions related to pinning and hiding folders 2016-12-05 20:36:43 +01:00
tibbi
b5b4e15990 add some folder pinning related things 2016-12-05 20:20:38 +01:00
tibbi
de967340ad fix #74, properly set the viewpager position after delete 2016-12-05 18:50:23 +01:00
tibbi
2c9c91396a at copy from the main screen, copy the directory content 2016-12-05 18:05:46 +01:00
Taras
16da426dd4 Update strings.xml 2016-12-05 18:39:10 +03:00
Taras
be8b575825 Update strings.xml 2016-12-05 12:45:06 +03:00
Taras
b75b3e12a6 Update strings.xml
some minor changes for better preception.
can't find file deletion confirmation dialog strings
2016-12-05 12:38:16 +03:00
tibbi
ed3a386984 invalidate the actionbar at viewpager update 2016-12-04 23:21:47 +01:00
tibbi
388a6dd2c1 fix fullscreen toggle on some devices 2016-12-04 23:11:41 +01:00
tibbi
a51083be16 load png files as argb_8888 for higher quality 2016-12-04 21:45:28 +01:00
tibbi
ac9132bf6b update media screen items on delete, dont recreate 2016-12-04 21:01:21 +01:00
tibbi
f06fc85bdb fill viewpager items asynchronously 2016-12-04 20:53:05 +01:00
tibbi
6f60d3fcfd use the initialization function for reloading the viewpager 2016-12-04 19:46:11 +01:00
tibbi
df5dc70f61 fix some issues at reloading the viewpager after deleting an image 2016-12-04 19:21:59 +01:00
tibbi
c4644c73a5 remove the Undo option of deleting at viewpager, as there is a confirmation box 2016-12-04 18:57:58 +01:00
tibbi
bbdafef491 some more performance improvements 2016-12-04 18:07:26 +01:00
tibbi
c9c5f549be some updates to the way we get media from mediastore 2016-12-04 17:52:10 +01:00
tibbi
c9eb50944d small code style update 2016-12-04 16:59:21 +01:00
tibbi
d046cbc1ec allow swiping at opening an image for example from Downloads 2016-12-04 15:57:42 +01:00
Tibor Kaputa
312e3c8edb Merge pull request #73 from MasTu/patch-1
Update strings.xml
2016-12-04 15:48:27 +01:00
tibbi
9fb2ec55d9 allow editing third party images 2016-12-04 15:47:46 +01:00
MasTu
33b0b30e36 Update strings.xml
Update Italian language
2016-12-04 15:40:03 +01:00
tibbi
a66d72abde allow changing the save path of edited image 2016-12-04 15:39:22 +01:00
tibbi
8ed6bff447 move Config and Constants into Helpers folder 2016-12-04 15:25:30 +01:00
tibbi
b04022d365 move the remaining Utils functions into extensions 2016-12-04 15:24:09 +01:00
tibbi
802789d1da move hasNavBar into an activity extension 2016-12-04 15:20:48 +01:00
tibbi
9ff47e6b6f use the filepickers getmimetype function instead of a custom one 2016-12-04 15:17:32 +01:00
tibbi
40e50dddc8 show the path at Save as dialog of editor 2016-12-04 13:20:37 +01:00
tibbi
5c12491fc1 add Set as wallpaper to photovideoactivity 2016-12-04 12:58:47 +01:00
tibbi
679deb424a add more action buttons to PhotoVideoActivity used by third parties 2016-12-04 12:25:54 +01:00
tibbi
72e56796b9 move OpenWith in extension 2016-12-04 12:07:22 +01:00
tibbi
56ba895302 move some constants outside of the constants object 2016-12-04 12:02:48 +01:00
tibbi
b3f285f7f4 move wallpaper setting to an extension 2016-12-04 12:00:19 +01:00
tibbi
f70eb2b2fc allow swiping between images if opened from third party app 2016-12-04 11:39:40 +01:00
tibbi
2469609399 show the Delete action at the viewpager menu 2016-12-04 11:07:27 +01:00
tibbi
b0f3ac99a4 make sure dialogs are cancellable by clicking outside 2016-12-04 10:27:53 +01:00
tibbi
49247ee9f1 wrap the sorting dialog in a scrollview 2016-12-03 21:00:55 +01:00
tibbi
747e007fd0 removing a check from sorting, not sure why was it there 2016-12-03 18:32:30 +01:00
tibbi
421214057a add an extra check to prevent deleting directories with documentFile 2016-12-01 23:42:47 +01:00
tibbi
865df01f3a allow directory comparison end in result 0 2016-12-01 23:36:51 +01:00
tibbi
0ab0edd78a always try the simple way of deleting files too, like from internal storage 2016-11-30 23:22:10 +01:00
tibbi
5f64a02763 do not hide the system UI at initiating fullscreen photo/video 2016-11-30 23:15:22 +01:00
tibbi
66221ff82d update the medium comparison function, allow result 0 2016-11-30 23:09:48 +01:00
tibbi
75adc50906 update the Medium serialVersionUID 2016-11-30 22:52:27 +01:00
tibbi
c262755401 scan invalid files before sorting 2016-11-30 22:48:37 +01:00
tibbi
1094da87e2 adding Russian translation 2016-11-30 22:30:16 +01:00
tibbi
c51cb0974e escape some translated chars 2016-11-30 21:52:40 +01:00
naofum
3cf3d37c5a Updated Japanese 2016-11-30 23:29:23 +09:00
tibbi
c479da15eb simplify About padding 2016-11-27 10:56:15 +01:00
Sérgio Marques
4e64e3425a Portuguese update 2016-11-26 16:00:16 +00:00
MasTu
4a0fc960ab Update strings.xml 2016-11-26 02:10:41 +01:00
tibbi
5b2f085839 adding playstore strings 2016-11-24 23:30:51 +01:00
tibbi
7c6ba51066 fix #66, totally hide the navigation bar at fullscreen mode 2016-11-22 23:18:45 +01:00
tibbi
9838cc1e2d replace some one function interfaces with anonymous functions 2016-11-22 23:12:15 +01:00
tibbi
119ecf2060 use android.app.AlertDialog for dialogs so they are styled properly 2016-11-22 20:52:14 +01:00
tibbi
a2bcfdbc7c update filepicker to 1.5.2 2016-11-22 20:52:01 +01:00
Tibor Kaputa
f7f211cddf fix showing selected items on Android 5 2016-11-22 10:49:42 +01:00
Sérgio Marques
df4a41aa65 Portuguese update 2016-11-21 17:46:53 +00:00
tibbi
1b587b3d10 allow null mime types 2016-11-21 18:23:09 +01:00
tibbi
746ccc2d96 enable caching of media thumbnails 2016-11-21 18:19:29 +01:00
tibbi
b5a1600dab simplify delete checking 2016-11-20 23:00:15 +01:00
tibbi
192d963986 make sure the proper items are marked at long click 2016-11-20 22:02:17 +01:00
tibbi
01bf9dcf74 add kotlin license 2016-11-20 19:01:17 +01:00
tibbi
11ef6235a5 fix the rtl viewpager url 2016-11-20 17:58:28 +01:00
tibbi
adadf2efec adding "Right to Left Viewpager" License 2016-11-20 17:56:31 +01:00
tibbi
b725899d96 add the BigNerdRanch multiselector license 2016-11-20 17:49:36 +01:00
tibbi
f3fd84dab9 rely on selected state, not activated on long click 2016-11-20 17:33:04 +01:00
Sérgio Marques
7991603d01 Portuguese update 2016-11-20 15:30:41 +00:00
tibbi
ff9b61f95e pass Glide the activity instead of context 2016-11-20 13:49:13 +01:00
tibbi
732e703d88 do not lowercase deleted path urls + some safety checks 2016-11-19 22:59:44 +01:00
tibbi
7658651ebf remove an isphotovideo check 2016-11-19 22:12:27 +01:00
tibbi
dd47759014 allow deleting only photo and video files with the gallery 2016-11-19 22:06:02 +01:00
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