Stypox
66e3a170d0
Fix random NullPointerException when adding video player view
2022-07-14 22:14:03 +02:00
Stypox
66c376cdd2
Merge pull request #8530 from krlvm/improve_placeholder_images
...
Improve image placeholders
2022-07-14 15:55:36 +02:00
Stypox
23da27886e
Make video and playlist placeholder thumbnails 16:9
...
After making the playlist and video thumbnails' scaleType fitCenter, the 24dp*24dp thumbnails would appear as a square, which would be strange, since the image view is 16:9.
2022-07-14 14:47:54 +02:00
Stypox
a6cc11225d
Rename dummy_* and more to placeholder_*
2022-07-14 14:27:33 +02:00
Stypox
d0788550ba
Improve placeholder thumbnail SVGs and remove theme customization
...
Theme customization does not seem to work well with Picasso: square/picasso#1275
2022-07-14 14:14:33 +02:00
Stypox
0928add36b
Remove bottom-sheet-thumbnail placeholder, clear the image instead
2022-07-14 14:14:33 +02:00
krlvm
aea711a3f7
Fix swapped colors in video and playlist thumbnails
2022-07-14 14:14:32 +02:00
krlvm
6e3add060e
Rename buddy.xml to dummy_person.xml
2022-07-14 14:14:32 +02:00
krlvm
9e488dc461
Optimize thumbnail placeholder drawables
2022-07-14 14:14:32 +02:00
krlvm
9f48436b3d
Use corresponding material icon in user profile thumbnail
2022-07-14 14:14:32 +02:00
krlvm
175459cd4f
Improve image placeholders
...
- Show placeholders until the image is loaded because timeout can be very long and missing profile pictures and video thumbnails make app inconvenient to use
- Adapt profile picture and video thumbnail placeholders to light theme
- Replace profile picture and video thumbnail placeholders with vector graphics
2022-07-14 14:14:32 +02:00
TacoTheDank
85f8d5f16b
Update OkHttp to 4.x
2022-07-14 03:23:45 -04:00
TacoTheDank
99c6530ce4
Update some miscellaneous libraries
2022-07-14 01:48:52 -04:00
Stypox
067239b4f7
Merge pull request #8542 from carmebar/share-playlist
...
Add 'Share playlist' option to Playlist fragment
2022-07-13 23:45:08 +02:00
Stypox
d71da66cc5
Move PlayerType into its own class and add documentation
...
Also replace some `isPlayerOpen` with direct `playerType == null` checks.
2022-07-13 23:33:18 +02:00
Stypox
47589426b1
Fix SonarLint java:S5320, restrict broadcasts to app package
2022-07-13 23:33:18 +02:00
Stypox
6e571a252a
Some SonarLint refactors
2022-07-13 23:33:18 +02:00
Stypox
65651e0302
Some refactorings after review comments
2022-07-13 23:33:18 +02:00
Stypox
7e64750460
Move popup layout param to PopupPlayerUi
2022-07-13 23:33:18 +02:00
Stypox
cf4a472b5c
Move functions to get Android dimen to ThemeHelper
2022-07-13 23:33:18 +02:00
Stypox
cb4a771a4e
Fix volume gestures not working anymore
2022-07-13 23:33:18 +02:00
Stypox
b3201b20c7
Solve some Sonarlint warnings
2022-07-13 23:33:16 +02:00
Stypox
986be98a80
Restore checkstyle and solve its errors
2022-07-13 23:32:27 +02:00
Stypox
74addaa1c2
Add some javadocs; move preparing player uis to PlayerUiList
2022-07-13 23:31:59 +02:00
Stypox
9b701b373f
Improve //region comments in player UIs
2022-07-13 23:30:30 +02:00
Stypox
9f2d912691
Add comment about broadcast receiver
2022-07-13 23:27:24 +02:00
Stypox
d689c9013b
Remove unused PlayerServiceBinder
2022-07-13 23:27:24 +02:00
Stypox
e707113920
Remove unused PlayerState
2022-07-13 23:27:24 +02:00
Stypox
0352d546fd
Move player-notification files into their package
2022-07-13 23:27:24 +02:00
Stypox
7f99dbbfe8
Move all notification-related calls to NotificationPlayerUi
2022-07-13 23:27:24 +02:00
Stypox
eba3996878
Fix some crashes / issues after player refactor
2022-07-13 23:27:23 +02:00
Stypox
5ba14c4b7c
Refactor player: separate UIs and more
2022-07-13 23:25:26 +02:00
Stypox
16b0ae2032
Merge pull request #7613 from litetex/increase-minsdk
...
Bump minSdk to 21 - Android 5 / Lollipop
2022-07-13 19:09:05 +02:00
TacoTheDank
940d0443b6
More minSdk 21 cleanup
2022-07-13 19:03:47 +02:00
TacoTheDank
265637cd6a
Remove AndroidX Webkit
2022-07-13 19:03:47 +02:00
litetex
353347aa19
Clean up pre-Lollipop theming
2022-07-13 19:03:47 +02:00
litetex
9071397ee9
Clean up pre-Lollipop compat attributes
2022-07-13 19:03:45 +02:00
litetex
4a4ca3c18e
Clean up pre-Lollipop checks
2022-07-13 19:02:24 +02:00
litetex
abe2745b4a
Remove MultiDex
2022-07-13 19:02:24 +02:00
litetex
7de93e31d1
Bump minSdk to 21 (Android 5 / Lollipop)
2022-07-13 19:02:23 +02:00
Stypox
4633d57c4d
Merge pull request #8569 from mhmdanas/add-workflow-permissions
...
Use minimum required permissions for GitHub workflows
2022-07-13 18:56:10 +02:00
Stypox
2f5bcd4b37
Merge pull request #8573 from Stypox/better-thumbnails
...
Make thumbnails' `scaleType` `fitCenter`
2022-07-13 18:33:19 +02:00
Taco
c354a3b765
Specify used ExoPlayer libraries ( #8469 )
2022-07-13 17:57:14 +02:00
Alex
a68e34b430
Crop the notification thumbnail in 1:1 mode instead of stretching it ( #8533 )
...
Change square bitmap transformation strategy: change the bitmap transformation strategy when a 1:1 aspect ratio is
enabled to not stretch the bitmap but rather crop it.
On Android 11/12, the way the whole thumbnail was used for the
notification icon was not ideal, however the setting to toggle a 1:1
(as it states in settings) resulted in distortions.
Fix this by simply cropping the bitmap.
Also update the 1:1 mode strings to remove mentions of scaling or
distortions, as those no longer apply.
2022-07-13 17:19:44 +02:00
Carlos Melero
98f9b6f258
Add Share option to local playlists
...
A newline-separated text is shared
2022-07-13 14:32:23 +02:00
Robin
e1029800f3
Merge pull request #8536 from TacoTheDank/bumpExoPlayer
...
Update ExoPlayer to 2.18.0
2022-07-13 12:59:12 +02:00
Stypox
b6d746d1c9
Merge pull request #8545 from carmebar/hide-future-videos
...
Add option to hide future videos in feed
2022-07-13 11:07:38 +02:00
Stypox
e412559526
Fix feed menu items order in category to leave space for search
...
The search menu item gets added in first place when the feed fragment is added as a tab to the main fragment. So the main fragment's menu items' orderInCategory should start from 2.
2022-07-13 11:04:40 +02:00
Stypox
50f6a865ee
Merge pull request #8397 from notaLonelyDay/add-download-to-longpress-menu
...
Add download to longpress menu
2022-07-06 11:47:50 +02:00
nikita.artikhovich
a0ec49ebdd
Add download option to long-press menu
2022-07-06 11:42:57 +02:00