Alexander--
7bb5cacb0d
Special MovementMethod for video description
...
Video descriptions can be very long. Some of them are
basically walls of text with couple of lines at top or bottom.
They are also not scrolled within TextView itself, - instead
NewPipe expects user to scroll their containing ViewGroup.
This renders all builtin MovementMethod implementations useless.
This commit adds a new MovementMethod, that uses requestRectangleOnScreen
to intelligently re-position the TextView within it's scrollable container.
2019-12-01 12:41:11 +06:59
Alexander
a8a28294d3
Support for seeking videos in directional navigation mode
2019-12-01 12:41:10 +06:59
Alexander
d8bd8d87ec
Make player screen controls into buttons
...
Buttons are more likely to have "correct" styling and are
focusable/clickable out of box
2019-12-01 12:41:10 +06:59
Alexander
644ad110c0
Make description focusable, so TV users can scroll it
2019-12-01 12:41:10 +06:59
Alexander
1bb96ef405
When child of CoordinatorLayout wants focus, show it!
...
The same logic is present in RecyclerView, ScrollView etc.
Android really should default to this behavior for all Views
with isScrollContainer = true
2019-12-01 12:41:10 +06:59
Alexander
7dc4ccf144
MainPlayer: make title and subtitle non-focusable
...
Focus isn't needed for marquee, only selection
2019-12-01 12:41:10 +06:59
Robin
bf2a3ca043
Migrate to AndroidX
2019-10-04 14:59:08 +02:00
yausername
5d9b5a063b
fix scrolling in video detail fragment. fixes #2627
2019-09-29 22:05:29 +05:30
Vasiliy
312e1378d3
Fix tablet ui
2019-05-06 19:16:39 +03:00
Vasiliy
03b1a8bd41
Merge branch 'dev' into playback_state_list
2019-04-27 17:37:43 +03:00
Vasiliy
002a1412cb
Fix scrolling details
2019-04-15 21:22:31 +03:00
Tobias Groza
e99714eba6
Merge remote-tracking branch 'TeamNewPipe/dev' into close_button
2019-04-13 18:18:17 +02:00
Vasiliy
4e1423d224
Implement playback state management
2019-04-13 13:34:36 +03:00
Stypox
8eead9fda2
Add share button to main player layout
...
Placed under "more options"
2019-04-06 20:21:32 +02:00
Ritvik Saraf
2309e15261
fixed scroll w/ comments and related streams disabled
2019-03-03 18:20:15 +05:30
Vasiliy
4587428d13
Merge branch 'dev' into close_button
2019-02-23 13:19:09 +02:00
Ritvik Saraf
77c6d3d576
merged upstream/dev
2019-01-29 22:32:58 +05:30
kapodamy
8d1d4092aa
add missing icons in bright theme
...
* missing white icons
* update attrs.xml and styles.xml
2019-01-22 18:53:30 -03:00
Vasily
505c528194
Show close button when playing completed
2018-12-27 16:51:48 +02:00
Ritvik Saraf
222c8fdb62
tablet ui support for comments
2018-12-09 03:21:55 +05:30
Vasily
b24baa68ba
Tablet UI in player
2018-08-31 17:30:06 +03:00
Vasily
ce21fe2087
Always show description on tablets
2018-08-29 08:01:18 +03:00
Vasily
7330b4532e
Fix crash on screen rotation
2018-08-22 10:29:37 +03:00
Vasily
216e2367c6
Video details tablet layout
2018-08-22 08:32:58 +03:00