Fix Long Audio/Dubs text label puses UI Controls on Player Off Screen in Portrait mode. #12699
Fix Long Audio/Dubs text label puses UI Controls on Player Off Screen in Portrait mode. #12699TobiGr merged 2 commits intoTeamNewPipe:devfrom
Conversation
|
Thank you. Just squash your last two commits and set a helpful commit message and after that we are good to go! |
|
Done — I’ve squashed the last two commits into one. |
|
Thanks. Please take a look at your commit message again. |
- 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
|
Thanks, and sorry for the confusion. I removed the bullets that weren’t reflected in the final diff and amended the message to accurately describe the changes (weight-based layout for audioTrackTextView, singleLine+ellipsis, and hiding metadataView when not fullscreen). |
|
Thanks for the report — you’re right, my previous change inadvertently hid metadataView, which removed its weight from the row and broke the right-end alignment in non-fullscreen. Sorry for the regression — fix incoming. |





What is it?
Description of the changes in your PR
Constrain audioTrackTextView width (maxWidth="110dp") and single line + ellipsize="end" + scrollHorizontally="true", so it never wraps or steals too much space.
Before/After Screenshots/Screen Record
Fixes the following issue(s)
Relies on the following changes
android:singleLine="true"android:ellipsize="end"android:scrollHorizontally="true"android:maxWidth="110dp"APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
Due diligence