Commit graph

4319 commits

Author SHA1 Message Date
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
tibbi
4f74709774 add some things related to kitkat sdcard write permissions 2016-11-06 16:26:25 +01:00
tibbi
165cff24e6 move mypageradapter to the proper folder 2016-11-06 16:09:50 +01:00
tibbi
122209fb28 convert MyPagerAdapter to kotlin 2016-11-06 16:08:48 +01:00
tibbi
def05ffbe2 convert mediaadapter to kotlin 2016-11-06 16:01:13 +01:00
tibbi
d60521411e convert directoryadapter to kotlin 2016-11-06 15:54:53 +01:00
tibbi
f0e8746bce require write_external_storage so we can modify things too 2016-11-06 15:42:56 +01:00
tibbi
3f756369f2 add a couple more path null checks 2016-11-06 15:38:34 +01:00
tibbi
657b14fdb4 add a null check at obtaining files to fix some crashes 2016-11-06 15:29:54 +01:00
tibbi
001bf403d1 move interface declaration to the bottom 2016-11-06 15:18:17 +01:00
tibbi
a5fc444ba3 add the properties dialog to viewpager items 2016-11-03 23:27:09 +01:00
tibbi
b3fa4bf880 add the properties dialog th the media activity 2016-11-03 23:16:47 +01:00
tibbi
97d6f2d452 implement the Properties dialog at the albums view 2016-11-03 23:12:04 +01:00
tibbi
60536bfdf6 add a properties button to directories view 2016-11-03 23:04:43 +01:00
tibbi
2f9c63e43b fix up directory sorting 2016-10-25 22:48:30 +02:00
tibbi
9081d1a579 load the directories asynchronously 2016-10-25 22:28:25 +02:00
tibbi
4f289b4c47 play the video at load automatically if set so, fixes #38 2016-10-25 20:50:37 +02:00
tibbi
6e0f60b770 add a toggle for autoplaying videos 2016-10-25 20:42:23 +02:00
tibbi
37bda0c72e minor refactoring 2016-10-25 20:34:09 +02:00
tibbi
07b60e0afb select Dark theme by default 2016-10-25 20:27:02 +02:00
tibbi
def5c9ce2a use white background colors if dark theme isnt selected 2016-10-25 20:26:53 +02:00
mueller-ma
fe6b65d407 Translated some strings to german 2016-10-25 11:06:58 +02:00
tibbi
d643cc2822 pass context instead of whole activity to scanFile 2016-10-16 19:19:40 +02:00
tibbi
647a487fd5 convert content:// uri to real path when needed 2016-10-09 18:54:36 +02:00
tibbi
be5eefb9a6 check case when checking gif files 2016-10-09 18:36:04 +02:00
tibbi
fc0b011d48 lets cache the directory thumbnails 2016-10-09 16:31:23 +02:00
tibbi
e51ff13da7 allow toggling the visibility of multiple folders at once 2016-10-09 16:12:40 +02:00
tibbi
c0a430c839 show Hide and Unhide menu items only when appropriate 2016-10-09 16:06:32 +02:00
tibbi
ceb6b14250 add menu buttons for hiding and unhiding folders 2016-10-09 15:40:54 +02:00
tibbi
16fa3733c9 add unhide and hide icons 2016-10-09 15:28:14 +02:00
tibbi
8c58964a99 update menu items at hiding folders 2016-10-09 15:23:03 +02:00
tibbi
5d1126d0f8 add a (hidden) postfix to hidden folders 2016-10-09 15:18:45 +02:00
tibbi
7b7788b03c allow unhiding folders 2016-10-09 15:07:53 +02:00
tibbi
60494b0cfd hide hidden folders if set so 2016-10-09 14:59:16 +02:00
tibbi
cae1c040ec add an option for showing hidden folders 2016-10-09 14:14:58 +02:00
tibbi
848fe154be allow hiding folders 2016-10-09 14:09:05 +02:00
tibbi
cff90e1e8b ignore folders which contain .nomedia 2016-10-09 11:28:04 +02:00
tibbi
301f14acdb clean up the mediaplayer at surface destroy, so its recreated 2016-10-09 11:08:58 +02:00
tibbi
b1fcd36a0b update README and screenshots 2016-10-09 00:05:58 +02:00
tibbi
4bb8650b57 save edited images at 90% quality 2016-10-08 23:05:41 +02:00
tibbi
cc91a3a287 add Android Image Cropper title in the missing languages 2016-10-08 22:44:18 +02:00
tibbi
aebfa078e1 check for unknown file path at editing remote images 2016-10-08 22:42:11 +02:00
tibbi
7cd62075e7 close #21, allow opening images and videos with third party apps 2016-10-08 21:28:16 +02:00
tibbi
4398443a0d rename item Crop / Rotate to Edit 2016-10-08 21:08:49 +02:00
tibbi
e20a9294df close the app if the user goes Back from picking an image without pick 2016-10-08 20:05:01 +02:00
tibbi
b34fbabbf8 change the Wallpaper label to Simple Wallpaper 2016-10-08 20:03:12 +02:00
tibbi
8e4866c2f7 allow using Set as wallpaper with long pressing the desktop 2016-10-08 19:55:38 +02:00
tibbi
c64a158a49 move the wallpaper handling in a background thread 2016-10-08 19:39:50 +02:00
tibbi
d907e3cef5 allow croping and rotating the wallpaper before setting 2016-10-08 19:03:50 +02:00
tibbi
1a7c0861c3 create an activity for setting a wallpaper 2016-10-08 17:03:52 +02:00
tibbi
8aa93491f2 offer third party apps at setting as wallpaper 2016-10-08 16:47:36 +02:00
tibbi
f765bf7dc9 handle content:// uri scheme properly too, close #28 2016-10-08 16:08:10 +02:00
tibbi
a42e9b09fe add a couple more changes for better RTL support 2016-10-08 15:43:38 +02:00
Tibor Kaputa
a29bac3a1a Merge pull request #36 from xsoh/master
FIX: Wrong direction of swap in Arabic and other RTL languages #35
2016-10-08 15:35:52 +02:00
tibbi
ca65ead9a7 take the file uri scheme into account when editing and saving files 2016-10-08 12:44:04 +02:00
Suhail Alkowaileet
2b7e7033ee FIX: Wrong direction of swap in Arabic and other RTL languages #35 2016-10-08 12:56:29 +03:00
tibbi
b2cea47c8d allow editing images with different apps too 2016-10-07 23:52:01 +02:00
tibbi
a856a4a0f9 add Android Image Cropper license 2016-10-06 22:56:45 +02:00
tibbi
58ec3276bb lowercase the file extension before checking its type 2016-10-06 22:32:35 +02:00
tibbi
f635173b1f cache thumbnails by timestamp signature 2016-10-06 22:25:07 +02:00
tibbi
bd2a39dbb8 remove Glide caching 2016-10-06 22:09:28 +02:00
tibbi
0005fb7e0c do not display an error toast if the user leaves the editor with Back 2016-10-06 20:55:09 +02:00
tibbi
a7f3bda7bd set the initial crop window padding to 0 2016-10-06 20:09:24 +02:00
tibbi
f4655761bd update the given medium after editing it 2016-10-06 20:05:44 +02:00
tibbi
a5def53373 save the edited bitmap when done 2016-10-06 19:54:09 +02:00
tibbi
cae7b9458a open the image editor at pressing Rotate / crop 2016-10-06 18:51:16 +02:00
tibbi
c433c897b5 finish the Edit activity if the image uri is invalid 2016-10-05 23:36:53 +02:00
tibbi
acf539ee93 update the edit activitys intent-filter 2016-10-05 23:19:24 +02:00
tibbi
12800ec7c1 add a menu item for Crop / rotate 2016-10-05 23:12:09 +02:00
tibbi
6dafca7732 rename Edit to Rename ;) 2016-10-05 22:22:44 +02:00
tibbi
5a7d5ac2e7 crop the image on pressing Save 2016-10-05 22:07:32 +02:00
tibbi
1e4c1206cc rotate the image by 90 degrees at pressing Rotate 2016-10-05 21:47:12 +02:00
tibbi
d3ce91beb5 add a menu item for rotating 2016-10-05 21:08:24 +02:00
tibbi
ed1a971564 add a Save menu item 2016-10-05 20:55:01 +02:00
tibbi
734557d7cd add theartofdev.edmodo:android-image-cropper for image editing 2016-10-05 20:47:58 +02:00
tibbi
d638f6350e create an activity for editing photos 2016-10-05 18:37:28 +02:00
tibbi
36316a8fdb added portuguese translation 2016-10-03 23:32:24 +02:00
tibbi
74dd65281c Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2016-10-03 23:29:26 +02:00
tibbi
53c7c78801 handle orientation changes manually to prevent video glitches 2016-10-03 23:27:56 +02:00
YSmhXQDd6Z
a7caee04af Create strings.xml 2016-10-02 21:49:13 +00:00
tibbi
ee6f1a6eb3 fix #25, fill the Play buttons with transparent grey for better visibility 2016-09-25 23:46:59 +02:00
tibbi
481fc40653 fix #19, use the special foreground selector only from v23 2016-09-25 23:36:29 +02:00
tibbi
08f7a57c55 prevent the screen from turning off while playing a video 2016-09-25 23:16:34 +02:00
Tibor Kaputa
016a6a464e Merge pull request #30 from vanitasvitae/master
Fixed typo
2016-09-09 00:19:43 +02:00
vanitasvitae
b5dabe87cd Fixed typo 2016-09-08 10:06:38 +02:00
tibbi
d1e4437e93 small change to selectable item background 2016-09-07 22:59:03 +02:00
vanitasvitae
128e7bdb69 Added german translation 2016-09-06 13:38:07 +02:00
tibbi
7d4b19de4f remove some non translatable strings 2016-08-30 19:32:22 +02:00
Laura Arjona Reina
f5c021a827 Add Spanish translation 2016-08-30 19:07:49 +02:00
tibbi
f0c9583213 update launcher icons 2016-08-26 20:43:00 +02:00
tibbi
cc802df7fd change the app launcher name to Gallery 2016-08-25 21:52:49 +02:00
tibbi
b9ee748855 update launcher icon 2016-08-25 21:45:48 +02:00
tibbi
d8dfbc3627 remove the Set as wallpaper feature for now, it needs more work 2016-08-25 21:33:07 +02:00
tibbi
9a75c3ae8c rescan directories too recursively 2016-08-24 23:51:48 +02:00
tibbi
3a515e5844 rescan all files only at pull to refresh 2016-08-24 23:48:48 +02:00
tibbi
ea9e43c00b apply the image as wallpaper if picked so 2016-08-24 23:39:46 +02:00
tibbi
2b83491631 show a "Set as Wallpaper" menu item at images 2016-08-24 23:32:01 +02:00
tibbi
131f0647a9 rescan all files in directory on open
- related to #18, #16
2016-08-24 23:26:52 +02:00
tibbi
605a4a29c3 allow using the app as both an image and video picker, related to #15 2016-08-24 22:08:29 +02:00
tibbi
2ce5c90204 if Same sorting is enabled, use the directory sorting 2016-08-23 21:48:23 +02:00
tibbi
5bc11afc69 add a switch to enable/disable same sorting for files and dirs 2016-08-23 21:18:40 +02:00
tibbi
9612e53dbb fix #23, allow different sorting for folders and files 2016-08-23 20:53:07 +02:00
tibbi
325e5fe6f3 add an Invite friends button 2016-08-22 23:52:09 +02:00
tibbi
802f61cf64 use our own strings for OK and Cancel 2016-08-21 20:39:16 +02:00
tibbi
284ff3d697 make the buttons in About section easier to click 2016-08-21 20:13:15 +02:00
tibbi
20aac8175f make the dark theme really dark 2016-07-26 22:47:51 +02:00
tibbi
1d2e7b310e use the subsampling-scale-image-view for zoomable photos 2016-07-24 22:53:32 +02:00
tibbi
7141563463 sort directories already at the query 2016-07-24 21:15:05 +02:00
tibbi
8054f51727 allow sorting directories 2016-07-24 21:02:02 +02:00
tibbi
90e8309aa1 allow sorting media 2016-07-24 19:43:12 +02:00
tibbi
cd567c370b add sorting button to the menu 2016-07-24 16:40:10 +02:00
tibbi
fddaea76c3 calculate the size of directories
+ adding some initial sorting things
2016-07-24 16:34:45 +02:00
tibbi
0c9fe0e4c3 remove a not needed flag 2016-07-24 11:42:10 +02:00
tibbi
34a1a15d74 move the settings layout back where it should be 2016-07-20 23:32:06 +02:00
tibbi
31100a3afe properly handle orientation changes 2016-07-20 23:23:43 +02:00
tibbi
cdc07b0bff allow sharing multiple items at once 2016-07-20 23:10:31 +02:00
tibbi
427e44f3bd allow refreshing media view too
- closes #10
2016-07-20 22:41:58 +02:00
tibbi
b31a18e48c add pull to refresh to the directories view 2016-07-20 22:35:29 +02:00
tibbi
cda29dd904 use resources instead of some hardcoded values 2016-07-20 21:03:48 +02:00
tibbi
b0d9c7e8ee wrap directory thumbnails in FrameLayout only on Android 4 2016-07-20 21:00:02 +02:00
tibbi
32aa2fbc39 add a Dark theme
+ adding the Settings itself (splitting it into multiple commits would make no sense)
2016-07-20 20:46:51 +02:00
tibbi
952a820aa8 remove some non translatable strings 2016-07-17 23:22:14 +02:00
Sopor
286dc7a628 swedish translation 2016-07-16 20:11:34 +02:00
Sopor
90ca54f28a swedish language 2016-07-16 20:08:41 +02:00
Sopor
d95f90aedb Create strings.xml 2016-07-16 00:09:37 +02:00
tibbi
7427f266a7 properly highlight the items that are going to be deleted 2016-07-15 23:07:21 +02:00
tibbi
7b47da40c3 remove the strings that arent supposed to be translated 2016-07-15 22:51:17 +02:00
tibbi
d3168fe1f1 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Gallery 2016-07-15 22:46:55 +02:00
tibbi
7aed3a846f mark some strings as not to be translated 2016-07-15 22:46:40 +02:00
Tibor Kaputa
1462068cd0 Merge pull request #8 from naofum/master
Added Japanese translation
2016-07-15 22:45:48 +02:00
naofum
d649c5bb51 Added Japanese translation 2016-07-16 00:10:20 +09:00
anthologist
8be07f3eff Create strings.xml 2016-07-14 15:16:56 +02:00
tibbi
6bcb522d59 use a different action at the Camera icon
closes #6
2016-07-12 11:10:57 +02:00
tibbi
1b30b011b2 allow rotating the device 2016-07-11 20:47:06 +02:00
tibbi
6aefd23436 some english fixes 2016-07-11 20:22:18 +02:00
tibbi
cb1b8c296f remove a duplicate intent filter action 2016-07-10 16:20:54 +02:00
tibbi
11af15fb80 properly open a couple more VIEW intents 2016-07-09 22:18:05 +02:00
tibbi
c3420aa748 add a button to open the Camera, closes #4
- added it only to the main screen with the directories, as adding it in the specific album might be confusing. People could think that the photo will be saved in that album
2016-07-09 21:15:05 +02:00
tibbi
569ce03f80 improve GIF support 2016-07-07 15:02:11 +02:00
tibbi
77077b7369 more renames 2016-07-04 16:19:28 +02:00
tibbi
1e3b2ff8d6 rename a couple variables 2016-07-04 16:18:03 +02:00
tibbi
bb71618d54 use the new Google Plus logo 2016-07-01 23:03:19 +02:00
tibbi
4b7049b8a9 change the default year in About section 2016-07-01 15:10:37 +02:00
tibbi
600705f155 use capital G at shared prefs 2016-07-01 15:07:34 +02:00
tibbi
9d5277a090 show a Rate us button to returning users 2016-07-01 15:04:31 +02:00
tibbi
42226e88d2 make the thumbnails smaller on tablets 2016-07-01 11:41:06 +02:00
tibbi
4ab90d0e08 scale up the sizes properly for tablets 2016-06-30 23:12:46 +02:00
tibbi
c6c54940f8 add a Google Plus link in About section 2016-06-27 22:57:53 +02:00
tibbi
971141652b handle a couple more Pick intents 2016-06-27 15:40:25 +02:00
tibbi
75e4f6c8ab lets also react to vnd.android.cursor.dir/ intent 2016-06-27 12:47:57 +02:00
tibbi
719af8c8ba implement GET_CONTENT intent handling 2016-06-27 12:37:01 +02:00
tibbi
8d63aedf2a allow setting Wallpaper with the app 2016-06-26 22:38:25 +02:00
tibbi
686430fcca show the path at directory renaming dialog 2016-06-23 11:43:32 +02:00
tibbi
6a21c8a27c display the file path at the Edit dialog 2016-06-23 11:34:21 +02:00
tibbi
28ab32a3ad replace SubsamplingImageView with PhotoView 2016-06-23 11:12:51 +02:00
tibbi
a9ca9ef39c increase the seekbar height for easier clickability 2016-06-19 16:40:37 +02:00
tibbi
8efae34fc9 lets use higher resolution images 2016-06-19 13:14:32 +02:00
tibbi
65abeb5303 add a Facebook follow image at the About section 2016-06-19 13:07:18 +02:00
tibbi
9fdf5bcd44 restore the video progress at rotate 2016-06-19 11:19:41 +02:00
tibbi
e4bbe31276 reuse the same activity at photo and video view intents 2016-06-19 11:15:27 +02:00
tibbi
9ebdffdda0 some refactoring, no functionality change 2016-06-18 23:10:50 +02:00
tibbi
fd9980ba41 move Undo button to the top 2016-06-18 20:59:51 +02:00
tibbi
1bcf68c125 really sort the items by timestamp only, not by type 2016-06-18 14:46:28 +02:00
tibbi
71c9e7e04e order the directories properly by timestamp 2016-06-18 14:26:55 +02:00
tibbi
c2aea6b5fb sort media before displaying 2016-06-18 13:22:54 +02:00
tibbi
b47e13c4b5 add timestamp to media 2016-06-18 12:59:04 +02:00
tibbi
2fb8fc2dc7 use the same item for photo and video thumbnails 2016-06-18 12:50:34 +02:00
tibbi
6db5615076 set the default time to 00:00 2016-06-16 17:05:20 +02:00
tibbi
ebcc328d2e add extra bottom padding to time holder only if the device has software nav bar 2016-06-16 16:14:02 +02:00
tibbi
08dd94f10f allow using the gallery as a video chooser 2016-06-15 15:55:13 +02:00
tibbi
99a2ea6829 do not display videos if the app is used as an image chooser 2016-06-15 15:40:07 +02:00
tibbi
b36e85844d allow using the app as an image chooser 2016-06-15 15:20:05 +02:00
tibbi
fd01e7dca5 fix some freezes at multiple orientation changes 2016-06-15 13:52:53 +02:00
tibbi
05af0f7862 setup a fragment listener after orientation change if theres none 2016-06-14 12:42:11 +02:00
tibbi
74a4a5173c offer opening third party videos too with the gallery 2016-06-14 11:39:45 +02:00
tibbi
d6a8683941 allow opening other photos with the Gallery 2016-06-14 11:24:57 +02:00
tibbi
a6e4e949e0 use interfaces for communicating with fragments 2016-06-14 11:05:49 +02:00
tibbi
e97f9b1db8 avoid arrayoutofbounds when deleting the last photo 2016-06-14 10:12:03 +02:00
tibbi
d36b8142f3 do not implement OnScanCompleted with activities 2016-06-14 09:41:43 +02:00
tibbi
714b1804da use a different function for displaying the toast 2016-06-13 19:01:49 +02:00
tibbi
7be7fe06b2 remove the viewpagers DepthPageTransformer 2016-06-13 17:47:16 +02:00
tibbi
14774ee222 check storage permission at every activity 2016-06-13 17:45:53 +02:00
tibbi
51981e4f06 close the app when no permission to storage is given 2016-06-13 17:32:38 +02:00
tibbi
ff40ea8a92 make sure to set the progress bar to Max when the video is complete 2016-06-12 22:05:30 +02:00
tibbi
29273fb4fa fix sharing videos 2016-06-09 21:15:43 +02:00
tibbi
ba76a4a215 remember the state on orientation change 2016-06-09 21:12:46 +02:00
tibbi
186b5bfd4f some minor video layout change 2016-06-09 21:07:41 +02:00
tibbi
825e40595d properly update the neighbour time holder visibility too 2016-06-09 18:02:31 +02:00
tibbi
82241c250b fade the timeholder together with the system ui 2016-06-09 17:01:43 +02:00
tibbi
f8dfc3f423 properly calculate the video size 2016-06-09 15:43:03 +02:00
tibbi
a733bef4c1 convert ViewPagerFragment to a local variable 2016-06-09 14:51:42 +02:00
tibbi
4e3efeb9ff dont do anything if the fragment gets hidden 2016-06-09 14:50:42 +02:00
tibbi
e7e31e25f6 pause the video if being swiped away 2016-06-09 14:48:50 +02:00
tibbi
3cd30f7f37 create separate directories for fragments and models 2016-06-09 10:29:31 +02:00
tibbi
73575f8839 split viewpagerfragment into photo and video 2016-06-09 10:22:07 +02:00
tibbi
1923479591 add seekbar functionality + misc changes 2016-06-09 00:13:30 +02:00
tibbi
309e52ef3a allow playing videos 2016-06-08 20:58:45 +02:00
tibbi
c1b112c57d remove Exoplayer 2016-06-08 20:50:42 +02:00
tibbi
28988becd0 add exoplayer 2016-06-06 16:48:35 +02:00
tibbi
9ae1e592ed set viewpager item as a medium 2016-06-06 16:27:23 +02:00
tibbi
b36d06aafa properly open the video item at viewpager 2016-06-06 00:09:03 +02:00
tibbi
e206fa92ca save the directory activities scroll state too 2016-06-05 23:54:01 +02:00
tibbi
399f9ee066 rescan invalid files at mediaactivity too 2016-06-05 23:51:38 +02:00
tibbi
b676bc7ca4 add a play outline on videos 2016-06-05 23:49:57 +02:00
tibbi
728afc915c rename photos to media 2016-06-05 23:22:32 +02:00
tibbi
39fa01ab96 consider images and videos too when listing directories 2016-06-05 23:01:12 +02:00
tibbi
c0f32c25f2 add launcher icons 2016-06-04 11:33:50 +02:00
tibbi
ea9a943dd0 change some colors 2016-06-03 23:28:35 +02:00
tibbi
288ba628e6 properly rename folders 2016-06-03 19:31:46 +02:00
tibbi
4813a2d5ee couple more checks to prevent displaying invalid images 2016-06-03 18:43:54 +02:00
tibbi
64cae1b25d do not display photos currently being deleted 2016-06-02 23:31:44 +02:00
tibbi
ac6ef1ea3f change the selected items overlay color 2016-06-02 23:17:14 +02:00
tibbi
b8c16e42c1 add some licences 2016-06-02 21:52:42 +02:00
tibbi
f863febba1 change the font at fullscreen activity text too 2016-06-02 13:21:03 +02:00
tibbi
03c79360e2 changing the actionbar font style 2016-06-02 13:19:34 +02:00
tibbi
46638aa6f2 use a higher resolution Undo icon 2016-06-01 23:45:10 +02:00
tibbi
d0a7cb2b03 add some icons and colors 2016-06-01 22:15:38 +02:00
tibbi
89e08c282c make use of Butterknife 2016-06-01 19:15:14 +02:00
tibbi
d4978d0223 update Butterknife to 8.0.1 2016-06-01 18:06:28 +02:00
tibbi
a28162fc0d add About section 2016-06-01 17:44:50 +02:00
tibbi
1d76f572f2 add depth to scrolling the viewpager 2016-05-23 23:10:09 +02:00
tibbi
77e25ae9a7 save the gridview state when maximizing an image 2016-05-23 22:51:43 +02:00
tibbi
e71aad937d make a constant static 2016-04-25 23:41:36 +02:00
tibbi
4ff6f21968 setup Undo button margin properly at landscape 2016-04-25 21:30:48 +02:00
tibbi
de84071cc0 set adapter paths in the constructor 2016-04-25 21:08:13 +02:00
tibbi
86a0495a2f fix picture deleting 2016-04-25 20:58:19 +02:00
tibbi
6af43c0b81 use the local variable for getting current page index 2016-04-25 19:56:04 +02:00
tibbi
dd1dd70aa4 allow using the app in landscape orientation too 2016-04-25 18:48:23 +02:00
tibbi
4abe15564d replace the Snackbar with an Undo button
- snackbar would appear behind the transparent navigation bar
2016-04-18 21:29:19 +02:00
tibbi
01a9036c17 hide the navigation bar at fullscreen photos 2016-04-18 20:36:31 +02:00
tibbi
d3e47f8133 execute finish() on current thread 2016-04-16 14:40:10 +02:00
tibbi
55dde5e80a switch to the main thread only when doing UI things 2016-04-01 23:22:06 +02:00
tibbi
af61d30113 write a separate toast when folder is being renamed 2016-04-01 22:12:13 +02:00
tibbi
375489a536 improve renaming directories 2016-04-01 00:02:45 +02:00
tibbi
842776cedf recheck if the opened photo still exists 2016-03-29 10:57:49 +02:00
tibbi
4c8f2293f5 add crashfix for android 6 2016-03-29 09:52:31 +02:00
tibbi
0f10c6dd92 make dialog edittexts single line 2016-03-26 16:48:40 +01:00
tibbi
1da4050d4a reformat the rename conditions a bit 2016-03-26 15:37:12 +01:00
tibbi
5c144a607b add some brackets 2016-03-22 20:49:49 +01:00
tibbi
9dfe89ba6b add ripple effect 2016-03-22 19:16:02 +01:00
tibbi
e160894144 some refactoring 2016-03-07 22:02:10 +01:00
tibbi
50bf296f89 do not close the renaming dialog if it failed 2016-03-07 21:56:21 +01:00
tibbi
f626ee1843 allow renaming the directories 2016-03-07 21:41:55 +01:00
tibbi
e4127b61d9 make sure we delete the proper checked folders 2016-03-06 22:42:55 +01:00
tibbi
b880912ecb delete the empty folder itself too 2016-03-06 21:51:29 +01:00
tibbi
e03cf07761 allow deleting full directories 2016-03-06 21:45:48 +01:00
tibbi
75d2a4a19e allow selecting multiple items at the directories page 2016-03-06 19:05:37 +01:00
tibbi
b253b4473b delete the queued file on click 2016-03-06 16:42:03 +01:00
tibbi
5a225f8768 do not do anything we dont have to 2016-03-06 16:39:12 +01:00
tibbi
3f562513c0 delete the folder instantly at deleting the last photo in it 2016-03-06 14:53:07 +01:00
tibbi
304f6010da allow Undoing file deleting from viewpager 2016-03-05 23:53:47 +01:00
tibbi
09e4f00f27 scan only the affected items on Delete 2016-03-05 21:57:10 +01:00
tibbi
5e845c694c refresh only the images which were deleted 2016-03-05 17:39:43 +01:00
tibbi
a242fb783d allow renaming files 2016-03-05 13:59:32 +01:00
tibbi
f0de223155 do not show 0 if none image is selected 2016-03-03 20:36:43 +01:00
tibbi
2c86b0fb1c hide the snackbar when paused too 2016-03-03 20:31:42 +01:00
tibbi
b8f4bcbd0a allow Undoing file deletion 2016-03-03 00:12:10 +01:00
tibbi
a2f508378e delete empty directories after deleting all photos 2016-02-29 22:51:28 +01:00
tibbi
52051ca77a reload photos activity on resume 2016-02-29 21:47:31 +01:00
tibbi
6f629cc5f5 implement deleting files from viewpager 2016-02-29 21:25:08 +01:00
tibbi
fdc2e17d39 initialize the albums at resume, to act properly on images deletion 2016-02-29 20:27:51 +01:00
tibbi
9e219d7410 reload the gallery after deleting the files 2016-02-29 20:18:39 +01:00
tibbi
07cbc6bedb lets really delete the selected files 2016-02-28 23:45:10 +01:00
tibbi
ceecb21fa1 mark the selected items 2016-02-28 23:10:01 +01:00
tibbi
a68ad87b4b add a contextual actionbar for deleting images 2016-02-28 21:24:27 +01:00
tibbi
732fa20cb5 make sure we open the correct photo on fullscreen 2016-02-27 13:33:06 +01:00
tibbi
e982fa0d22 autoformat an xml 2016-02-26 23:00:14 +01:00
tibbi
bc2f333171 check for external storage permission at startup 2016-02-26 12:19:38 +01:00
tibbi
1045b53f9a display the current directory/photo name at the actionbar 2016-02-25 22:53:33 +01:00
tibbi
2e93991b6e make sure the photos are rotated properly 2016-02-24 23:45:41 +01:00
tibbi
7d86d15f00 change the acrionbat color at viewpager activity 2016-02-24 23:37:26 +01:00
tibbi
c936517720 use the short package version in manifest 2016-02-24 00:09:39 +01:00
tibbi
f630b9aa3d change the package name to com.simplemobiletools.gallery
- no real functionality change
2016-02-24 00:08:09 +01:00
tibbi
c5224c12e5 implement the sharing functionality 2016-02-23 23:56:25 +01:00
tibbi
95ab204fc0 add a Share button to the menu 2016-02-23 23:28:51 +01:00
tibbi
be087a3f6a allow swiping in fullscreen mode 2016-02-23 22:57:12 +01:00
tibbi
4196dfb215 toggle fullscreen mode at viewpager on click 2016-02-23 21:50:47 +01:00
tibbi
46a8f67c02 set the max allowed zoom to 5x 2016-02-21 21:19:36 +01:00
tibbi
42ba6b0e1d lets use subsampling-scale-image-view for proper zooming 2016-02-21 21:09:58 +01:00
tibbi
e38ac2893d do not include subfolders in photos of folders 2016-02-21 19:32:19 +01:00
tibbi
eed77d4738 allow zooming up to 20x 2016-02-21 18:22:14 +01:00
tibbi
e8da1424ad use an overriden ViewPager to fix IllegalArgumentException 2016-02-21 18:09:39 +01:00
tibbi
3983428d5f fix up displaying fullscreen images at the viewpager 2016-02-21 17:50:29 +01:00
tibbi
a32de3c5ca add PhotoView for pinch zooming fullscreen images 2016-02-21 17:48:16 +01:00
tibbi
ef241a1c5d order the directories and photos by date 2016-02-21 15:44:47 +01:00
tibbi
8af17a8c44 rename photoactivity to viewpageractivity 2016-02-21 15:25:33 +01:00
tibbi
0c56113037 create a separate folder for activities and adapters 2016-02-21 15:21:51 +01:00
tibbi
497ca6b127 display the selected image fullscreen 2016-02-20 22:54:41 +01:00
tibbi
0ab046c8d5 display a grid of photos on a directory selection 2016-02-20 21:06:22 +01:00
tibbi
6ee539eb52 rename layout photo_item to directory_item 2016-02-20 20:18:52 +01:00
tibbi
d285b3e261 open a new activity with photos on directory click 2016-02-20 19:26:23 +01:00
tibbi
8e66c935a6 make sure the background is black even at very few directories 2016-02-20 18:59:18 +01:00
tibbi
90d5d99c08 add directory thumbnails 2016-02-20 18:14:09 +01:00
tibbi
c2762ab014 use the first image in the directory as thumbnail 2016-02-20 17:20:27 +01:00
tibbi
a410e4371c rename some variables 2016-02-20 16:42:13 +01:00
tibbi
c157c5bb88 create a grid of directories 2016-02-20 16:30:28 +01:00
tibbi
75288f6351 create a list of directories with theirhoto count 2016-02-20 15:44:47 +01:00
tibbi
3cafb49996 get the image paths 2016-02-16 22:57:53 +01:00
tibbi
e48d655298 some cleanup 2016-02-16 22:42:36 +01:00
tibbi
e3a4055fb9 creating initial project 2016-02-16 22:23:25 +01:00