Commit graph

775 commits

Author SHA1 Message Date
litetex
0cd3cf7f1a Limit height of wrapper 2025-10-17 20:33:56 +02:00
litetex
fc3d8b629b Improve the alignment of titleTextView and audioTrackTextView
This fulfills the following:
* both should never push content outside of the view
* there should be no wasted space
* `audioTrackTextView` is always aligned to the right
* both should grow equally but also respect their respective contents size first

Caveats:
* Currently the layout weight is distributed using "NestedWeights" which require a widget to be measured twice. According to Android Studio this might cause an exponential performane impact, however there is currently just a single nested component so the effect should be not noticeable
2025-10-17 19:29:26 +02:00
litetex
1547a83f2c Correctly name the preview 2025-10-17 19:17:17 +02:00
litetex
ef354e4f75 Correctly format player.xml
Otherwise it constantly switches the attributes which makes (re) viewing changes next to impossible
2025-10-17 19:08:49 +02:00
jianing liu
ebe9b61b51 [player] Prevent long audio track label from pushing controls off-screen
- audioTrackTextView: layout_width=0dp + layout_weight=1
- Make it singleLine with ellipsize="end"
- When not fullscreen, hide metadataView so an empty weighted container doesn’t reserve space
- Result: controls stay visible on small screens; longer labels can use space on larger screens
2025-10-14 12:58:51 +08:00
jianing liu
809b77e243 change marginRight to marginEnd 2025-10-11 21:12:57 +08:00
Stypox
bb9a1289d2 Show error panel in EmptyFragment 2025-07-19 19:41:13 +02:00
Stypox
35a709258d Improve layout of select_feed_group_item 2025-06-04 11:18:04 +02:00
Diana Victoria Furrer
d81e6d2057 # Change
Layout select_feed_group_item (FeedGroup Picker in the Settings)
Remove rounded style from the icons
2025-05-30 21:00:37 +02:00
Diana Victoria Furrer
3e536bc98d # Change
Adjusted select_feed_group_fragment Layout
 - reference select_feed_group_item layout
 - use new Strings

Added strings:
- select_a_feed_group
- no_feed_group_created_yet
2025-05-30 17:54:49 +02:00
Diana Victoria Furrer
89c468b812 # Copied Layouts
Copied select_channel_fragment to select_feed_group_fragment

Copied select_channel_item to select_feed_group_item

# Change
Replaced the Layout references in the new Class SelectFeedGroupFragment
2025-05-30 17:07:19 +02:00
malania02
05610004a0 Fix for overlapping 2025-04-09 23:40:14 +02:00
malania02
6e1e91d62c textview for download date added 2025-03-22 16:13:45 +01:00
malania02
0b383956fe textview for download date added 2025-03-22 16:09:58 +01:00
Stypox
0b981b2f95 Ellipsize uploader text in playlist bookmark 2024-11-16 14:17:37 +01:00
Stypox
5bfe7956ee Fix crash because of no height set on playlist bookmark
This is a consequence of https://github.com/TeamNewPipe/NewPipe/pull/11024

x
2024-11-16 14:17:32 +01:00
Abd El-Twab M. Fakhry
608dbb5e84 Use layout constraints instead of static height 2024-05-18 16:47:41 +03:00
Abd El-Twab M. Fakhry
f3dac50db6 Adjust the playlist bookmark item layout for RTL languages 2024-05-01 01:38:46 +03:00
Stypox
564e34b3e7 Merge branch 'dev' into pr8221 2024-03-29 18:08:31 +01:00
Stypox
b08fcb25b8 Merge pull request #10712 from Stypox/notification-actions-api-33-2
[Android 13+] Restore support of custom notification actions
2023-12-30 21:55:44 +01:00
Stypox
57090022d1 Customize only 2 notification actions on Android 13+ 2023-12-29 12:13:08 +01:00
Stypox
5a2cccb813 Fix settings_notification.xml indentation 2023-12-29 11:37:17 +01:00
TobiGr
6302d8e264 Ellipsize playlist description if it is longer than 5 lines
The description can be expanded / collapsed via a "show more" / "show less" button.
2023-12-23 12:33:52 +01:00
TobiGr
d0b603c94f Add playlist description to PlaylistFragment 2023-12-23 12:13:34 +01:00
Stypox
0c2513623b Add comment replies fragment header 2023-12-22 11:57:55 +01:00
Stypox
20bd1cad2d Add replies button to comments 2023-12-22 11:48:05 +01:00
Stypox
e3fe6617d3 Use start/end instead of left/right in comment layout 2023-12-22 11:46:03 +01:00
Stypox
453a5e2396 Remove mini variant and move upload date to top in comments 2023-12-22 11:46:03 +01:00
TobiGr
f4f2a8ed73 Improved accessibility of player interfaces 2023-09-21 12:20:00 +02:00
TobiGr
789764f3ea Remove unused content not supported TextView 2023-09-18 23:22:32 +02:00
TobiGr
60a97b0486 Apply review
Co-Authored-By:  Audric V <74829229+AudricV@users.noreply.github.com>
2023-09-18 23:22:32 +02:00
Stypox
7602473e53 Fix wrongly themed channel header
Since it is embedded in the app bar and has red as background color, it should be themed in the same way as the toolbar.
2023-09-18 23:22:32 +02:00
Stypox
b26c5a7d5c Improve placeholder channel banner handling
Now the placeholder gets hidden if there is no banner url or the user disabled images, to save space
2023-09-18 23:22:32 +02:00
Stypox
5613a89099 Add space above channel description (About tab) 2023-09-18 23:22:32 +02:00
ThetaDev
a5298ce994 add channel banner placeholder 2023-09-18 23:22:32 +02:00
ThetaDev
a735063c5c fix: limit channel header height 2023-09-18 23:22:32 +02:00
Stypox
559a1a46e1 Move channel header to collapsible app bar 2023-09-18 23:22:32 +02:00
ThetaDev
58d384cbab remove fragment_channel_info 2023-09-18 23:22:31 +02:00
ThetaDev
81472c3969 fix: scrollable channel description 2023-09-18 23:22:31 +02:00
ThetaDev
53d9fa2fe6 fix: add progress spinners 2023-09-18 23:22:31 +02:00
ThetaDev
5d3bf427a3 feat: prettier channel info page 2023-09-18 23:22:31 +02:00
ThetaDev
c32feb3624 fix: handle unsupported content 2023-09-18 23:22:31 +02:00
ThetaDev
11f83b8e24 feat: add channel tabs 2023-09-18 23:22:31 +02:00
Rishab Aggarwal
04b7fe4939 Improved downloading experience (#10407)
* added LoadingDialog for improving download experience

* [LoadingDialog] Apply some review comments and make title customizable.

* removed permission handling from loading Dialog

* fix checks

* remove <p> Tag from first sentence

---------

Co-authored-by: rishabaggarwal <Rishabaggarwal@sharechat.com>
Co-authored-by: TobiGr <tobigr@users.noreply.github.com>
2023-09-18 05:24:03 +05:30
TobiGr
2839babfb3 Adjust empty state message for ListInfoFragments depending on Info stream type
Show "no streams" for SoundClound.
Show "no live streams" for MeidaCCCLiveStreamKiosk.
Otherwise show "no videos"
2023-08-05 03:50:28 +02:00
Stypox
3e8b074fff Fix uploader and subchannel avatars swapped 2023-05-03 10:35:28 +02:00
AudricV
af9b2bfdd8 Remove "default" from audio track already present message
We don't know if, on muxed video streams we get for all services which support
multiple audio languages, that the audio language returned is the original one
or not, even if it should be the case.

In order to avoid saying potential false information, this word has been
removed from the string resource (ID and value) and the corresponding layout ID
in the download dialog.
2023-05-02 00:11:09 +02:00
ThetaDev
bc2add7828 feat: add track selection to downloader 2023-03-20 21:41:28 +01:00
ThetaDev
079f78a339 feat: add language selector to audio player 2023-03-19 01:15:36 +01:00
ThetaDev
4f15c6f49d feat: add audio language selector 2023-03-17 21:51:40 +01:00