Commit graph

124 commits

Author SHA1 Message Date
litetex
cf2288403b Removed "list_thumbnail_view_description"
due to accessibility problems
2022-01-04 16:00:01 +01:00
litetex
3d9762d3a8 Support for debug option "Crash the player" on TVs 2021-11-23 20:12:11 +01:00
TiA4f8R
a6bebe7b54 Use a custom TextView everywhere to be able to share with ShareUtils the selected text
This TextView class extends the AppCompatTextView class from androidx.

These changes (only in XML ressources) allow us to share the selected text by using ShareUtils.shareText, which opens the Android system chooser instead of the Huawei system chooser on EMUI devices.
2021-10-16 13:40:54 +02:00
Kalle Struik
6a97942a6e Rename the "append_playlist" string to "add_to_playlist" 2021-10-03 13:27:24 +02:00
Kostas Giapis
039718fb31 Remove margins from minimized player buttons 2021-09-26 18:26:40 +03:00
Kostas Giapis
b407a2a41d Increase minimized player buttons clickable area 2021-09-26 18:23:11 +03:00
Stypox
4b377abf29 Make all buttons in player have selectable item background borderless (#7042)
Except buttons with long text or text that changes on click
2021-09-18 11:29:15 +02:00
sherlockbeard
b1fce6cabc testing 2021-08-13 20:54:22 +05:30
litetex
28b834420f Increased padding of preview thumbnail 2021-07-17 16:43:04 +02:00
litetex
50493ff2cd Moved time to the top 2021-07-17 16:43:03 +02:00
litetex
15a3b61840 Fine tuned padding
Moved seekbar preview up a bit, so the finger is not obstructing the view
2021-07-17 16:43:02 +02:00
litetex
dca6fe1da3 Enlarged currentDisplaySeek-text on large-handed player 2021-07-17 16:43:01 +02:00
litetex
2d14aa51a8 Added seekbar-preview to the player layout 2021-07-17 16:41:54 +02:00
TobiGr
d8662f3122 Fix ClassCastException
See https://github.com/TeamNewPipe/NewPipe/issues/6577#issuecomment-876095378

java.lang.ClassCastException: android.widget.ImageButton cannot be cast to androidx.appcompat.widget.AppCompatImageButton
	at org.schabi.newpipe.player.Player.onRepeatModeChanged(Player.java:2263)
	at com.google.android.exoplayer2.ExoPlayerImpl.lambda$setRepeatMode$2(ExoPlayerImpl.java:564)
	at com.google.android.exoplayer2.-$$Lambda$ExoPlayerImpl$rgrcbaqP9Y8LgzdByBnAfUO4ydU.invokeListener(lambda)
	at com.google.android.exoplayer2.BasePlayer$ListenerHolder.invoke(BasePlayer.java:279)
	at com.google.android.exoplayer2.ExoPlayerImpl.invokeAll(ExoPlayerImpl.java:1498)
	at com.google.android.exoplayer2.ExoPlayerImpl.lambda$notifyListeners$6(ExoPlayerImpl.java:1318)
	at com.google.android.exoplayer2.-$$Lambda$ExoPlayerImpl$b59raXxaB-trjwE5bgpZInm1QnU.run(lambda)
	at com.google.android.exoplayer2.ExoPlayerImpl.notifyListeners(ExoPlayerImpl.java:1328)
	at com.google.android.exoplayer2.ExoPlayerImpl.notifyListeners(ExoPlayerImpl.java:1318)
	at com.google.android.exoplayer2.ExoPlayerImpl.setRepeatMode(ExoPlayerImpl.java:564)
	at com.google.android.exoplayer2.SimpleExoPlayer.setRepeatMode(SimpleExoPlayer.java:1636)
	at org.schabi.newpipe.player.Player.setRepeatMode(Player.java:2253)
	at org.schabi.newpipe.player.Player.onRepeatClicked(Player.java:2232)
	at org.schabi.newpipe.player.Player.onBroadcastReceived(Player.java:1123)
	at org.schabi.newpipe.player.Player.access$200(Player.java:190)
	at org.schabi.newpipe.player.Player$3.onReceive(Player.java:1060)
	at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:1185)
	... 7 more
2021-07-08 10:34:32 +02:00
litetex
dab42e9e60 Added itemsListHeaderDuration to large-hand player 2021-06-11 22:00:15 +02:00
krlvm
ef0999b9c3 Merge branch 'dev' into daynight 2021-04-03 00:08:26 +03:00
krlvm
0e314d248b Fix Player controls colors on KitKat
AppCompatImageButton ignores "tint" theme attribute on API 19, therefore, they had to be specified directly, these attributes can be removed after the KitKat support is dropped.
2021-04-02 23:58:10 +03:00
Fynn Godau
36177cefaa Rename related streams to related items 2021-03-31 22:33:22 +02:00
krlvm
1b3360ad18 Fix player controls colors on large screens 2021-03-31 19:07:27 +03:00
krlvm
8622d777e0 Fix White text in Play Queue in Light Theme, remove shade 2021-03-28 21:38:15 +03:00
krlvm
0afceeeb87 Fix Light Player Popups in Dark Theme, make Player Controls Overlay always Dark 2021-03-28 18:48:51 +03:00
krlvm
a8de222577 Fix Dark elements in Light Theme 2021-03-27 17:46:05 +03:00
TacoTheDank
39a250c991 Replace FrameLayout with FragmentContainerView where applicable 2021-03-22 17:46:06 -04:00
Tobi
714c9fb397 Merge pull request #5148 from Stypox/error-panel
Show improved error panel instead of annoying snackbar or crashing
2021-03-14 17:41:27 +01:00
Tobi
5f9da04d93 Merge pull request #5562 from mbarashkov/hardware_keyboard_space_shortcut_v2
Implement "pause/play" toggle on hardware keyboard space button.
2021-03-14 13:08:44 +01:00
Stypox
0ea6b4928c Add report/solve-recaptcha button in error panel
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.

Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00
Mikhail Barashkov
b57717831a Apply the space button shortcut to large screens as well 2021-02-12 12:17:46 +03:00
karol
6de40e68a9 removed resizig text from popup player, as requested in #5514 2021-02-11 11:20:27 +01:00
Stypox
64c7884850 Animate secondary controls toggle 2021-01-17 15:59:29 +01:00
Stypox
3daa726f03 Always show tab layout at the bottom of the screen 2021-01-17 15:36:42 +01:00
Stypox
923a68beaf Add icons to VideoDetailFragment tab layout for better accessibility 2021-01-17 15:34:24 +01:00
Stypox
8a4783f97b Move description to a tab alongside related streams and comments 2021-01-17 15:26:25 +01:00
Stypox
249ea33571 Add a secondary control panel to video detail fragment
It is shown when the user expands the description
It contains share, open in browser and play in kodi
2021-01-17 15:12:29 +01:00
Isira Seneviratne
8c73c2fe86 Use view binding in VideoDetailFragment. 2021-01-17 09:57:40 +05:30
vkay94
c775ab64ef Add stream segments to player 2021-01-14 21:58:19 +01:00
Stypox
94f807eea7 Fix view binding types 2021-01-14 10:25:48 +01:00
Stypox
15bf6b82e2 Improve meta info layout and merge duplicate code 2020-12-20 15:10:18 +01:00
TobiGr
a88d3a8a68 Display meta info about search query, stream creator or topic
Closes #4614
2020-12-20 11:56:22 +01:00
Isira Seneviratne
d362700279 Fix view binding issue. 2020-12-19 04:19:56 +05:30
wb9688
8f2effa78c Format all XML resources 2020-10-14 11:04:48 +02:00
Tobias Groza
60a453a634 Merge pull request #4362 from Stypox/fix-queue
Random fixes and improvements
2020-10-02 16:48:04 +02:00
Stypox
b339b9ebc8 Make player close button always white 2020-10-02 14:53:16 +02:00
Stypox
1c1adb2bc8 Prevent touches behind minimized player 2020-10-02 14:53:16 +02:00
Stypox
b6279fee52 Fix queue close image not following theme 2020-10-02 14:52:49 +02:00
Avently
4e394290ab Now player's overlays are aware of insets 2020-10-01 03:10:51 +03:00
opusforlife2
008455ab2a Do the same for tablet layout.
Signed-off-by: opusforlife2 <53176348+opusforlife2@users.noreply.github.com>
2020-09-30 02:17:04 +05:30
Avently
96881c44d3 Merged 'dev' branch 2020-09-27 15:04:20 +03:00
Avently
770720bace Variable width for caption button and hiding system UI after popup close 2020-09-19 22:52:59 +03:00
Stypox
5a1ec68f4a Fix invisible queue close button 2020-09-19 13:44:07 +02:00
Avently
04dce7ee2e Hiding controls when orientation changes to landscape 2020-09-15 22:10:38 +03:00