Commit Graph

2796 Commits

Author SHA1 Message Date
ByteHamster
8357518229 Reduced probability for closing player accidentally
If the description is really short, the WebView shrinks. When touching
below the WebView, one needs to slide pretty precisely to swipe horizontally.
If there is a little bit of slope, the player closes (completely, without following
the finger). This change resizes the WebView, so that one can not touch below it.
2020-05-06 13:25:47 +02:00
H. Lehmann
36c3a0da09
Merge pull request from ByteHamster/use-exoplayer-on-error
Offer to switch to ExoPlayer on media player error
2020-05-06 13:24:31 +02:00
ByteHamster
93e68233b4 Offer to switch to ExoPlayer on media player error 2020-05-05 00:48:29 +02:00
ByteHamster
63b3ac8e04 Make subscriptions view more consistent when showing non-square images 2020-05-04 22:54:53 +02:00
ByteHamster
57df7f826c Switched to json credentials for Google Play 2020-05-04 21:14:34 +02:00
H. Lehmann
50193df13f
Merge pull request from TacoTheDank/develop
Update gradle and dependencies
2020-05-04 17:24:07 +02:00
ByteHamster
f804bc56db Fixed incompatibilities with Gradle 3.6 2020-05-04 17:00:46 +02:00
H. Lehmann
136413610b
Merge pull request from ByteHamster/tab-background
Fixed tab background
2020-05-04 16:27:21 +02:00
H. Lehmann
8c77f54b37
Merge pull request from ByteHamster/fix-long-filename
Fixed adding feeds with long filename
2020-05-04 16:26:48 +02:00
ByteHamster
23fae88755 Small Lint fixes 2020-05-04 12:42:36 +02:00
ByteHamster
00de47acdd Fixed adding feeds with long filename 2020-05-04 10:38:48 +02:00
H. Lehmann
4a81dc29f0
Merge branch 'develop' into develop 2020-05-04 10:11:12 +02:00
ByteHamster
64ec4add4f Fixed tab background
Only tabBackground is not enough on big screens.
2020-05-04 10:08:27 +02:00
ByteHamster
daa9366592 Fixed pager tab background 2020-05-03 19:20:32 +02:00
H. Lehmann
c5dcad1722
Merge pull request from ByteHamster/toast-to-snackbar
Replaced some Toasts with Snackbars
2020-05-03 17:59:44 +02:00
H. Lehmann
98cc288e1e
Merge pull request from ByteHamster/video-open-correct-player
Fixed opening video player when starting video
2020-05-03 17:58:37 +02:00
ByteHamster
d0cd9d0b2b Do not display buttons in all-caps 2020-05-03 17:45:58 +02:00
H. Lehmann
2a6016822b
Merge pull request from ByteHamster/material-components
Switched to MaterialComponents theme
2020-05-03 17:28:22 +02:00
ByteHamster
10c533ecb3 Fixed opening video player when starting video 2020-05-03 17:25:06 +02:00
ByteHamster
20bcb8a781 Replaced some Toasts with Snackbars 2020-05-03 17:18:10 +02:00
H. Lehmann
bf216cbfac
Merge pull request from ByteHamster/snackbars-covered
Fixed Snackbars being covered by audio player
2020-05-03 16:51:01 +02:00
ByteHamster
45e7b8ee00 Switched to MaterialComponents theme 2020-05-03 16:49:14 +02:00
H. Lehmann
75314df348
Merge pull request from ByteHamster/fix-feed-preferences
Fixed feed preferences page
2020-05-03 16:26:34 +02:00
ByteHamster
0a29ce6f4c Fixed feed preferences page 2020-05-03 14:52:08 +02:00
ByteHamster
6edc2417a4 Fixed Snackbars being covered by audio player 2020-05-03 13:29:47 +02:00
Ebrahim Byagowi
700d8de5be Fix PagerIndicatorView disabled dot in RTL languages 2020-05-03 10:01:22 +04:30
H. Lehmann
2386684b7f
Merge pull request from ebraminio/number-format
Use locale's digits in more places
2020-05-02 22:55:04 +02:00
Ebrahim Byagowi
dc230a8f31 Use locale's digits in more places 2020-05-01 19:15:14 +04:30
ByteHamster
16b7aa7424 Fixed feed image tests 2020-05-01 14:39:23 +02:00
H. Lehmann
df47dd37ef
Merge pull request from ByteHamster/fragment-transition-speed
Made fragment transition a bit faster
2020-05-01 14:30:40 +02:00
H. Lehmann
d6d8ec43e1
Merge branch 'develop' into develop 2020-05-01 12:43:08 +02:00
H. Lehmann
b870c233ee
Merge pull request from ebraminio/rtl
Adopt the project with ViewPager2
2020-05-01 12:40:03 +02:00
ByteHamster
d7772b84df Made fragment transition a bit faster 2020-05-01 12:21:36 +02:00
Michael White
ca9ff00946
set max width on external player image () 2020-05-01 12:08:39 +02:00
H. Lehmann
5287322a89
Merge pull request from ByteHamster/selected-quantity
Allow plural of 'x selected' string
2020-05-01 11:33:05 +02:00
ByteHamster
46ddcf3c49 Allow plural of 'x selected' string 2020-04-29 21:03:02 +02:00
TacoTheDank
6aa4a9c091 Update Studio and some dependencies 2020-04-25 21:03:16 -04:00
H. Lehmann
0763652199
Merge pull request from ByteHamster/feeditem-page-tweaks
Theme tweaks
2020-04-21 23:20:51 +02:00
Tony Tam
92eb1d669b
Skip intro and ending per feed () 2020-04-21 23:20:22 +02:00
Ebrahim Byagowi
7bdacf8fde Modify NestedScrollableHost to suit our need
Now manages nested child scrolling when the orientation isn't perpendicular
2020-04-21 21:40:04 +04:30
Ebrahim Byagowi
6f74af7592 Wrap scrollable childs of viewpager in NestedScrollableHost 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
17962b57a0 Use more optimized way to detect direction in PagerIndicatorView 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
430e0d403e Fix menu items duplication in episodes and downloads fragment
As ViewPager2 different lifecycle apparently setHasOptionsMenu
needs to be called from onResume() from now on.
2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
c88336f17f Disable downloads and episodes view tab position restore animation 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
1b9937c2be Restore current tab right after downloads and episodes views creation 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
77dc78dfe8 Fix view pager scrolling of bottom sheet
As was suggested in https://github.com/AntennaPod/AntennaPod/pull/4020#discussion_r406795883
2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
292afd7d30 Disable bringing episode animation
As was requested in https://github.com/AntennaPod/AntennaPod/pull/4020#discussion_r406797233
2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
260d7ee944 Bring back AudioPlayerFragment pager's setOffscreenPageLimit
The reason needs cast: https://issuetracker.google.com/issues/144669596
2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
75e9ee9e0d Use constants instead hardcoded numbers in view pagers adapters 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
965fc5c27d Add default cases for switches lack them 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
3a11f2842b Remove remained references of ViewPager 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
79e85363fb Match pager_fragment's pager height with its parent 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
74ec3b1e4a Port ItemPagerFragment to ViewPager2 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
e8166a7f7f Port pager_fragment users to ViewPager2 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi
417c66d73a Adopt StatisticsFragment with ViewPager2 2020-04-21 19:30:16 +04:30
Ebrahim Byagowi
cedfb27cca Port AudioPlayer's viewpager to ViewPager2, improve RTL support 2020-04-21 19:30:16 +04:30
Michael White
3a86745e81
added media to queue when playing () 2020-04-21 16:04:03 +02:00
ByteHamster
ef733f826e Fixed missing padding in sidebar 2020-04-21 15:30:39 +02:00
ByteHamster
df9e30e9e9 Feed page theme tweaks 2020-04-21 14:18:47 +02:00
H. Lehmann
deb13b8b24
Merge pull request from ByteHamster/delete-crash-report-on-upgrade
Delete crash report on upgrade
2020-04-16 17:08:13 +02:00
H. Lehmann
ae19968fed
Merge pull request from ebraminio/upgrade-material
Upgrade Material and RecyclerView versions
2020-04-14 21:09:51 +02:00
ByteHamster
14b35b03fa Delete crash report on upgrade 2020-04-14 19:44:35 +02:00
H. Lehmann
04019931e0
Merge pull request from ebraminio/file-size-format
Use Android's own file size formatter
2020-04-12 23:52:29 +02:00
Ebrahim Byagowi
45d6232a50 Fix symmetry issues of feed item list 2020-04-13 01:22:01 +04:30
Ebrahim Byagowi
a12f7b3387 Upgrade Material and RecyclerView versions
Material 1.1.0 contains TabLayoutMediator which is needed for WIP ViewPager2
2020-04-12 15:07:51 +04:30
Ebrahim Byagowi
30d3619d05 Use Android's own file size formatter 2020-04-12 14:30:18 +04:30
Ebrahim Byagowi
d5ef1cb4f7 Fix TriangleLabelView corner in RTL languages 2020-04-12 14:14:06 +04:30
ByteHamster
67e7f4bec9 Reduce font size of new count 2020-04-11 23:14:08 +02:00
H. Lehmann
772d8728d1
Merge pull request from ByteHamster/colors
Make colors more consistent
2020-04-11 22:48:31 +02:00
H. Lehmann
2e7e1b4764
Merge pull request from HrBDev/develop
WorkManager.getInstance() without context is deprecated
2020-04-11 12:10:32 +02:00
H. Lehmann
87f773de38
Merge pull request from ByteHamster/allow-stop-preview
Allow to stop previewed episode
2020-04-11 12:09:41 +02:00
ByteHamster
cc946f44d7 Make colors more consistent 2020-04-11 11:59:13 +02:00
Hamidreza Bayat
fff0dce83e WorkManager.getInstance() is deprecated
Pass context where available
2020-04-11 02:28:46 +04:30
ByteHamster
4b42ed87c3 Toast instead of crash on database downgrade 2020-04-10 21:57:20 +02:00
ByteHamster
c24761806e Allow to stop previewed episode 2020-04-10 21:56:44 +02:00
H. Lehmann
4959319d58
Merge pull request from ByteHamster/podcast-searcher-abstract
Abstract from iTunes search provider lookup
2020-04-10 16:14:14 +02:00
Hamidreza Bayat
ca94d62b39 Don't mix android.arch & androidx dependencies
Update WorkManager to latest version
2020-04-10 14:58:59 +04:30
H. Lehmann
55fe840fc7
Merge pull request from ByteHamster/proguard
Allow Proguard to optimize androidx packages
2020-04-10 10:36:49 +02:00
H. Lehmann
e22702ec09
Merge pull request from ByteHamster/restore-visibility
Restore ExternalPlayer visibility when restoring instance state
2020-04-10 00:09:52 +02:00
H. Lehmann
c166edd46a
Merge pull request from ebraminio/valueof
Replace some of String.valueOf uses with to String.format to get locale's digits
2020-04-10 00:09:34 +02:00
H. Lehmann
de3985e1ae
Merge pull request from ebraminio/puzzle
Localize digits in queue episodes and parallel downloads numbers
2020-04-10 00:08:38 +02:00
ByteHamster
2de7ff44cb Allow Proguard to optimize androidx packages
This reduces the method count from 64k to 44k and the apk size from 8MB to 7MB
2020-04-10 00:05:52 +02:00
michaelmwhite
c68fe8a203 make layout clickable to intercept touch 2020-04-09 16:26:47 -04:00
Ebrahim Byagowi
81c59cbe5c Replace some of String.valueOf uses with to String.format to get locale's digits
Ideally we should inspect all the String.valueOf, these were I could see right now
2020-04-09 18:15:21 +04:30
Ebrahim Byagowi
e7666b63b4 Localize digits in queue episodes and parallel downloads numbers
Ideally %d%s should be moved into the message itself this however is
a temporal fix before apply that to the messages themselves.
2020-04-09 18:12:44 +04:30
ByteHamster
dbcb7e5c21 Restore ExternalPlayer visibility when restoring instance state 2020-04-09 13:06:39 +02:00
ByteHamster
ac13b7aa7b Use a single search fragment for all searchers 2020-04-09 12:41:54 +02:00
H. Lehmann
a35ecaa74b
Merge pull request from ByteHamster/format-crash-markdown
Write crash info in Markdown
2020-04-09 12:36:02 +02:00
H. Lehmann
05c3b22da8
Merge pull request from ByteHamster/fix-crash-click-timecode
Fix crash when clicking timecode
2020-04-09 12:35:39 +02:00
H. Lehmann
fc92802dfe
Merge pull request from ByteHamster/onlinefeedview-error-cancel
Fixed error dialog not closing activity sometimes
2020-04-09 12:35:18 +02:00
H. Lehmann
b8470cc2ce
Merge pull request from ByteHamster/fix-open-podcast-menu
Fixed 'Open podcast' menu item in media player
2020-04-09 12:35:00 +02:00
ByteHamster
b146a1163c Abstract from iTunes search provider lookup 2020-04-09 11:57:16 +02:00
ByteHamster
7ba7b76425 Fixed 'Open podcast' menu item in media player 2020-04-08 21:15:25 +02:00
ByteHamster
9f91a2ab86 Fixed error dialog not closing activity sometimes 2020-04-08 21:09:36 +02:00
ByteHamster
a6c9f7fa67 Fix crash when clicking timecode 2020-04-08 21:03:20 +02:00
ByteHamster
7d8d53d218 Write crash info in Markdown 2020-04-08 20:57:23 +02:00
Ebrahim Byagowi
f0a2398088 Fix locale of every String.format number formatter 2020-04-08 23:18:07 +04:30
H. Lehmann
ed248c2c64
Merge pull request from ByteHamster/drag-handle-size
Made drag handle less prominent
2020-04-08 11:24:37 +02:00
ByteHamster
71316cc474 Made drag handle less prominent 2020-04-07 21:39:29 +02:00
Tony Tam
a5795a3420
easy to read sorting options () 2020-04-07 09:13:15 +02:00