Commit graph

1170 commits

Author SHA1 Message Date
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