Commit Graph

476 Commits

Author SHA1 Message Date
Alex Ning
88a2119586 Resolve conflicts: Some refactors on media activities. 2020-06-16 15:17:00 +08:00
Docile-Alligator
268ea4f9d8
Merge pull request #123 from OHermesJunior/media-exit-anim
Make exit animation follow slide direction on media activities.
2020-06-16 12:27:54 +08:00
Docile-Alligator
ecd8988342
Merge pull request #124 from OHermesJunior/remove-sidebar
Remove sidebar activity
2020-06-16 12:27:21 +08:00
Hermes Junior
34b6ec90aa Remove SidebarActivity, use sidebar page in SubredditDetailActivity. 2020-06-15 17:21:59 +02:00
Alex Ning
b57d381e94 Maybe fix java.lang.RuntimeException: Canvas: trying to draw too large bitmap. Fix many bugs. 2020-06-15 22:05:33 +08:00
Hermes Junior
87d4e8d85f Make exit animation follow slide direction on media activities. 2020-06-15 15:24:15 +02:00
Alex Ning
e8e85b9631 Set image as wallpaper. 2020-06-15 14:48:16 +08:00
Alex Ning
4d753fc562 Add a rounded background to thumbnail in compact layout. Fix subreddits and users not clickable in sidebar. 2020-06-14 15:19:56 +08:00
Alex Ning
8ed7f54d46 Add an option to move thumbnail in compact layout to the left. 2020-06-13 22:11:57 +08:00
Alex Ning
ee048b25dd Fix bugs related to favoriting multireddits. Add some fonts. 2020-06-12 22:05:12 +08:00
Docile-Alligator
6921d720d2
Merge pull request #119 from OHermesJunior/login-no-webview
Fail gracefully when there is no webview installed.
2020-06-12 16:41:49 +08:00
Alex Ning
2277c97cc0 Add more fonts. 2020-06-10 21:08:13 +08:00
Alex Ning
54a9f241d4 Changing font is available. Fix subtitle on toolbar being cut if the font is large. 2020-06-10 15:43:34 +08:00
Alex Ning
4cd07e3bb6 Prepare to add different font support. 2020-06-10 12:22:19 +08:00
Hermes Junior
3cd7cbd6d8 Fail gracefully when there is no webview installed. 2020-06-09 13:41:03 +02:00
Alex Ning
0dbb6a745f Move all bottom sheet fragments to package BottomSheetFragment. Add a UrlMenuBottomSheetFragment for future use. 2020-06-08 21:11:01 +08:00
Alex Ning
dd8619e783 Add a tab for multireddit list in SubscribedThingActivity. Remove Multireddit button in bottom navigation bar in ViewSubredditDetailActivity and add a go back to main page button. 2020-06-08 15:10:59 +08:00
Alex Ning
580f9d2459 Add more notifications for downloading Reddit videos. Open the downloaded Reddit video when clicking the notification after downloading finishes. Put all work in an AsyncTask. 2020-06-07 17:14:05 +08:00
Hermes Junior
36b38135b9 Make downloaded video visible for galleries and simplify the code. 2020-06-06 22:51:48 +02:00
Alex Ning
98bbd0ff68 Show different notifications when downloading Reddit videos. 2020-06-06 23:23:19 +08:00
Alex Ning
22576dc003 Downloading Reddit videos with sound is now available. For Android Q and above, the downloaded videos are stored in Movies/Infinity. 2020-06-06 21:33:03 +08:00
Alex Ning
179c16d596 Use outline icon for multireddit. Fix black report icon in dark theme. Add a colon between sort type and sort time in toolbar. 2020-06-05 21:08:15 +08:00
Alex Ning
c37cc1bed3 Add an option to disable autoplaying nsfw videos. Support imgur gifv videos. 2020-06-04 22:33:24 +08:00
Alex Ning
e5d9f93e96 Swipe up or down to finish ViewImgurMediaActivity. Using Hauler to do swipe up or down to finish ViewImageActivity, ViewGIFActivity and ViewVideoActivity. Fixed gifs downloaded as jpg. 2020-06-04 20:06:01 +08:00
Alex Ning
ca957e8904 Support REdgifs and Gfycat videos in post lists and links. 2020-06-04 16:43:46 +08:00
Alex Ning
4927f82786 Remove ViewImgurGifFragment. 2020-06-04 10:05:57 +08:00
Alex Ning
470a59e104 Show a progress bar in ViewVideoActivity if it is a gfycat video and in ViewImgurMediaActivity. 2020-06-03 21:58:45 +08:00
Alex Ning
13d64eda14 Support viewing imgur albums in-app. 2020-06-03 19:02:46 +08:00
Alex Ning
066956971a Support viewing gfycat videos in app. 2020-05-28 22:16:07 +08:00
Alex Ning
2204b72484 Fix string value for popular. 2020-05-14 10:27:35 +08:00
Alex Ning
24d0ac4a40 Version 3.1.0. 2020-05-13 23:09:22 +08:00
Alex Ning
cf4395ed5c Customize tabs in main page for logged-in users. 2020-05-13 12:51:44 +08:00
Hermes Junior
3c32daaca2 Add swap tap and long click option. 2020-05-11 21:26:55 +02:00
Alex Ning
e439b84095 Video autoplay in ViewPostDetailActivity. Optimize CommentAndPostRecyclerViewAdapter. 2020-05-07 14:05:33 +08:00
Alex Ning
893c8a2076 Reporting comments is now available. 2020-05-05 14:30:46 +08:00
Alex Ning
d444a3a084 Reporting posts is now available. 2020-05-05 13:48:42 +08:00
Alex Ning
9d451d65dd Prepare to add report feature. 2020-05-03 16:47:33 +08:00
Alex Ning
45cdc6d3a6 Show cakeday of users and subreddits, user description and post and comment karma. 2020-05-03 09:16:07 +08:00
Alex Ning
93af286d55 Sharing user and subreddit is now available. 2020-05-02 22:26:45 +08:00
Alex Ning
360051a302 Fix the color of award cannot be changed. Prepare to show user comment karma, description, cakeday and subreddit creation day. 2020-05-02 08:22:13 +08:00
Alex Ning
911901cf75 Beautify player control view for video autoplay. 2020-05-01 22:07:13 +08:00
Alex Ning
25328e5d18 Muting and unmuting audio when autoplaying are available. 2020-05-01 10:50:40 +08:00
Alex Ning
4678caa92b Add an option for video autoplay. Rewrite some viewholders in PostRecyclerViewAdapter. 2020-04-30 15:29:56 +08:00
Alex Ning
5c05350119 Move onClickListeners to ViewHolders in PostRecyclerViewAdapter. Pause video after fragment pause. 2020-04-30 11:24:34 +08:00
Alex Ning
033c8bd241 Buggy video and Gif autoplay. 2020-04-29 18:13:28 +08:00
Alex Ning
0f8395221d Show 1 Award instead of 1 Awards. Version 3.0.3. 2020-04-19 13:16:23 +08:00
Alex Ning
499f507f88 Add an option to ignore navigation bar height. 2020-04-19 13:03:33 +08:00
Alex Ning
2d60b732a9 Add awards background and text color to custom theme. Show only the number of awards on Post Compact Layout. 2020-04-18 22:14:17 +08:00
Alex Ning
2f72e654eb Show the number of awards in PostRecyclerView instead. 2020-04-18 14:00:37 +08:00
Alex Ning
bde2220d91 Remove unused attributes. Fix loading images using GlideImageGetter after the activity is destroyed. 2020-04-18 11:34:43 +08:00
Alex Ning
372acf4cf4 Fix white theme issues. Remove CollapsingToolbarLayout in some activities. 2020-04-17 18:08:30 +08:00
Alex Ning
ea779ff74b Minor bugs fixed. 2020-04-17 17:34:04 +08:00
Alex Ning
58efcce3a0 Show author flair for posts. 2020-04-16 22:22:29 +08:00
Alex Ning
504b005cf7 Show awards for comments. 2020-04-16 21:50:25 +08:00
Alex Ning
f0125edd23 Show author flair (not richtext) for comments. 2020-04-16 20:04:32 +08:00
Alex Ning
9cbe542c85 Show all post awards. 2020-04-16 16:10:07 +08:00
Alex Ning
cd4cf40236 Fix app crashes when selecting font size to small. Version 3.0.1. 2020-04-06 10:47:28 +08:00
Alex Ning
74c06151cd Fix font size issues. 2020-04-05 16:47:39 +08:00
Alex Ning
7a429f902d Long press a multireddit in the list to show some options. Fix some UI issues. 2020-04-05 16:21:47 +08:00
Alex Ning
28b9eb37da Add Calm Pastel theme. Fix an fab icon color issue. 2020-04-05 12:04:35 +08:00
Alex Ning
b92936b204 Add a Dracula theme. 2020-04-05 00:19:11 +08:00
Alex Ning
b54909dd15 Fix some issues in themeing. Add red themes. 2020-04-04 23:00:11 +08:00
Alex Ning
d6dd171ac4 Editing multireddits is now available. 2020-04-04 16:10:25 +08:00
Alex Ning
9690c5eeac Add an activity for theme preview. 2020-04-02 22:15:47 +08:00
Alex Ning
5f7ac4349f Add white themes. 2020-04-01 22:39:38 +08:00
Alex Ning
3feee882c6 Fix database migration issue. 2020-04-01 20:12:27 +08:00
Alex Ning
9bfae61ce7 Refine animation of hiding and showing comment toolbar. 2020-04-01 19:42:37 +08:00
Docile-Alligator
093fccc790
Merge pull request #73 from OHermesJunior/master
Add hidden comment toolbar feature.
2020-03-31 22:31:55 +08:00
Alex Ning
07bca6d635 Fix some issues of searching. 2020-03-30 14:54:55 +08:00
Alex Ning
84d4679aa9 Finished adding advanced preferences. 2020-03-29 16:28:50 +08:00
Hermes Junior
d0faebbab9 Add hidden comment toolbar feature. 2020-03-29 05:20:52 +02:00
Alex Ning
ea27af4080 Continue playing videos after orientation. Deleting all subreddits and users is now available in advanced settings. 2020-03-29 10:46:55 +08:00
Alex Ning
a5a5e6dac2 Add some advanced preferences which do nothing right now. 2020-03-28 22:43:47 +08:00
Alex Ning
3adac8a074 Show NSFW toggle in the nav drawer in anonymous mode. 2020-03-28 16:27:56 +08:00
Alex Ning
daa6b06617 Add a SidebarFragment in ViewSubredditDetailActivity. Fix some UI issues. 2020-03-27 23:34:11 +08:00
Alex Ning
7e222091c8 Fix some issues of custom theme. 2020-03-27 19:22:26 +08:00
Alex Ning
1cfdaf41fa Implemented share and import themes. Fixed some issues of custom theme. 2020-03-27 18:08:58 +08:00
Alex Ning
f40b9cbde0 Fix some bugs related to custom themes. 2020-03-27 14:40:48 +08:00
Alex Ning
6ad725762b Still implementing custom themes. 2020-03-27 09:51:53 +08:00
Alex Ning
3dca261dea Still implementing custom themes. 2020-03-27 00:30:05 +08:00
Alex Ning
0694c471c4 Fix some bugs in CustomizeThemeActivity. 2020-03-25 18:06:43 +08:00
Alex Ning
f5fc385039 Add CustomThemeListingActivity. 2020-03-24 14:14:47 +08:00
Alex Ning
c827d6f1cd Customizing light, dark and amoled themes is now available. 2020-03-20 17:52:50 +08:00
Alex Ning
587dfccd32 Add a color picker. 2020-03-20 17:03:49 +08:00
Alex Ning
9e4dec362d Still implementing custom theme settings. 2020-03-19 22:30:57 +08:00
Alex Ning
012736bff6 Start implementing custom theme settings. 2020-03-19 12:20:23 +08:00
Alex Ning
71e22b3e36 Immersive Interface is now available on Android 8.0. Add ThemePreferenceFragment. Fix theme database. 2020-03-18 13:33:55 +08:00
Alex Ning
21c47eaa4c Still implementing custom themes. 2020-03-18 09:19:26 +08:00
Alex Ning
3dc2d9fee2 Continue implementing custom themes. 2020-03-17 20:03:15 +08:00
Alex Ning
870976068d Apply theme to toolbars. 2020-03-16 16:53:29 +08:00
Alex Ning
fe658dd9e2 Still implementing custom themes. 2020-03-15 23:34:23 +08:00
Alex Ning
e076e2374f Implement custom multiple themes (Buggy). 2020-03-15 13:12:02 +08:00
Alex Ning
f3f9642a0e Add a custom theme table in database. 2020-03-05 17:43:27 +08:00
Alex Ning
ad5e4df6e8 Share gif directly in ViewGifActivity. 2020-03-03 17:34:04 +08:00
Alex Ning
980a121573 Share image directly in ViewImageActivity. 2020-03-02 22:38:53 +08:00
Alex Ning
095dd30f71 Still prepare to support multiple themes. 2020-03-01 19:26:32 +08:00
Alex Ning
192d64f6bc Still prepare to support multiple themes. 2020-03-01 16:30:33 +08:00
Alex Ning
152a6a280a Still prepare to support multiple themes. 2020-03-01 09:42:57 +08:00
Alex Ning
e528158f03 Remove unused comments. 2020-02-27 17:38:57 +08:00
Alex Ning
e1ce1af47a Still prepare to add different themes. 2020-02-27 16:58:15 +08:00
Alex Ning
0f36ad4e1d Prepare to add different themes. Try fixing timeout issue in okhttp3. 2020-02-26 22:40:15 +08:00
Alex Ning
0560735380 Revert the change to make some activities immersive. 2020-02-22 18:37:49 +08:00
Alex Ning
4c6902a399 Show post or body (if it has) in CommentActivity. 2020-02-22 18:22:02 +08:00
Alex Ning
a54a3395f8 Add an option to show rounded number of votes. 2020-02-21 00:27:04 +08:00
Alex Ning
b06c24402b Add a F-Droid option in settings. 2020-02-20 15:43:53 +08:00
Alex Ning
d9b9a7c3c1 Add an option to show comment dividers. Put theme option to InterfacePreferenceFragment. 2020-02-20 15:10:50 +08:00
Alex Ning
59465390a9 Add a nsfw toggle in the nav drawer. 2020-02-20 12:27:51 +08:00
Alex Ning
bbc69b45e6 Show image flairs properly. Minor bugs fixed. 2020-02-19 21:18:08 +08:00
Alex Ning
2a077afa43 Remove code comments. 2020-02-19 17:05:55 +08:00
Alex Ning
9f87139794 The new nav bar is now fully functional. Fix wrong icon color in dark theme. 2020-02-19 16:27:05 +08:00
Alex Ning
248aca0fb9 Start implementing showing subscribed subreddits in the nav drawer. Use a RecyclerView to display all the items in the nav drawer. 2020-02-19 09:59:12 +08:00
Alex Ning
d4d3db8343 Implement immersive mode in many other activities. 2020-02-18 20:39:15 +08:00
Alex Ning
a28d022cde Deleting multireddit is now available. 2020-02-18 19:28:35 +08:00
Alex Ning
bc043c442f Selecting subreddits when creating multireddits is now available. 2020-02-18 18:16:04 +08:00
Alex Ning
805ce260a2 Creating multireddit without specifying subreddits is available. 2020-02-12 18:11:03 +08:00
Alex Ning
802a70e9c9 Add a dark theme toggle in the navigation drawer. 2020-02-02 23:16:15 +08:00
Alex Ning
7ae7827d49 Minor layout tweaks. 2020-02-02 21:50:42 +08:00
Alex Ning
bdf5f07883 Lock the bottom app bar. 2020-02-02 19:29:14 +08:00
Alex Ning
51d7965527 Fix fab jumps to top-left of the screen. Add more items in the bottom app bar. Add a bottom app bar in ViewSubredditDetailActivity. 2020-02-02 17:48:25 +08:00
Alex Ning
b09701918f Confirm to exit. 2020-02-02 10:37:35 +08:00
Alex Ning
5d74aa4548 Showing top-level comments at first is available. 2020-02-01 22:36:43 +08:00
Alex Ning
9dc596b907 Show image preview for some posts which were classified as link posts before. 2020-02-01 19:56:55 +08:00
Alex Ning
1f1d6a97fa Locking fab in ViewPostDetailActivity, Swiping up to hide fab in ViewPostDetailActivity are available. Minor bugs fixed. 2020-02-01 11:32:29 +08:00
Alex Ning
02db44e532 Reorganize settings. Opening link in app is now available. 2020-01-31 22:09:46 +08:00
Alex Ning
ff5a60c827 Copying comments is now available. Some UI tweaks. 2020-01-30 20:38:35 +08:00
Alex Ning
5e401a6a96 Copy post title and content in ViewPostDetailActivity. 2020-01-29 12:43:57 +08:00
Alex Ning
cb91543690 Setting default post layout is now available. Add an option to hide the divider in post compact layout. 2020-01-11 10:39:49 +08:00
Alex Ning
b04ad8956d Sharing and copying post links and media links are available. 2020-01-06 17:19:41 +08:00
Alex Ning
35acef9f8d Mute videos by default is now available. 2020-01-05 10:57:32 +08:00
Alex Ning
e4ce71bf2a Fetch subreddit info in ViewSidebarActivity. 2019-12-31 15:11:12 +08:00
Alex Ning
286ab8ebca Change text color in TableLayout in markdown. Change markdown TextView style. 2019-12-30 22:46:45 +08:00
Alex Ning
a60c249b16 View subreddit sidebar is now available. 2019-12-30 20:44:40 +08:00
Alex Ning
aefc828036 Change Markdown text style. Reduce the sensitivity of sliding right to go back from ViewPostDetailActivity to prevent go back when sliding tables. 2019-12-27 14:44:16 +08:00
Alex Ning
5bf1d342f6 Markdown table support. 2019-12-26 23:57:02 +08:00
Alex Ning
f7baba9412 Add an option to hide the bottom app bar. Change the icon color in the bottom app bar. 2019-12-25 23:41:56 +08:00
Alex Ning
2113d4a902 Fixed UI in ViewMultiRedditDetailActivity. Add a share option in Settings -> About to let you easily share this app to other people. Version 2.0.0. 2019-12-19 21:09:58 +08:00
Alex Ning
a914ed95ef Hide progress bar in post compact layout when the post is a video. 2019-12-19 18:39:40 +08:00
Alex Ning
ae49dd50d4 Show a play button on the image if the post is a video or an image. 2019-12-19 18:32:37 +08:00
Alex Ning
f0c04a2f6d Change icon for subscriptions. Fixed wrong margin in bottom app bar. 2019-12-19 16:27:33 +08:00
Alex Ning
9b4f35f42c Change icons for multireddit and subscriptions. 2019-12-18 21:55:47 +08:00
Alex Ning
e3445373d9 Fix bottom app bar is under navbar in immersive mode. 2019-12-18 21:33:03 +08:00
Alex Ning
dafd0796e9 Hide FAB and BottomAppBar in anonymous mode. 2019-12-18 18:41:23 +08:00
Alex Ning
5097919a36 Add a BottomAppBar to navigate to subscriptions and multireddits. 2019-12-18 18:35:58 +08:00
Alex Ning
e69c26db19 Swipe to refresh in SubscribedThingActivity and MultiRedditListingActivity. 2019-12-17 21:33:15 +08:00
Alex Ning
cc86e047f0 Change the UI of ViewMultiRedditActivity. 2019-12-17 18:33:27 +08:00
Alex Ning
f834f5804c Add menusin ViewMultiRedditDetailActivity. Minor bugs fixed. 2019-12-17 12:36:48 +08:00
Alex Ning
666ac642fc Showing posts of multireddit is now available. Fix a typo. 2019-12-17 00:32:37 +08:00
Alex Ning
b9893c6d14 Show MultiReddits list. 2019-12-13 18:08:47 +08:00
martinsandfuchs
027cbdb7a3 Use volume keys to navigate posts 2019-12-08 13:21:37 +01:00
Alex Ning
c8d9269efa Show a alert dialog when go back from CommentActivity, EditCommentActivity and EditPostActivity. 2019-11-28 00:42:07 +08:00