Adjust the playlist bookmark item layout for RTL languages#11024
Adjust the playlist bookmark item layout for RTL languages#11024Stypox merged 4 commits intoTeamNewPipe:devfrom
Conversation
This reverts commit 8267d32.
|
@TobiGr, for some reason, Android Studio cannot symbolically link this file during the local build However, it magically works when I try to copy the content it points to. I'm unsure why it works here with this symlink and doesn't work on my local build! |
|
Are you using Windows? |
Yes. Windows 11 Pro 23H2 |
HatakeKakashri
left a comment
There was a problem hiding this comment.
Thanks for making the changes, looking good!
I'm curious about the adjustment to the height. Is there a specific reason it needs to be changed? Could you elaborate on why 51dp was chosen?
If you want to position an element relative to another element, you could consider using constraints like layout_alignParentTop, layout_below similar attributes in RelativeLayout.
Additionally, to help visualize the impact of the changes, would it be possible to share some before/after screenshots with layout bounds enabled or using a layout inspector tool? Seeing the layouts with large font size configurations would also be helpful for review.
|
@snaik20, thank you. I am glad to contribute. Regarding the adjustment to the height, I scaled down the As you suggested, instead of directly setting the static height, I used the layout_alignTop and layout_alignBottom constraints. BeforeAfterAfter last fix (using layout_alignTop/Bottom) |
|
|
Tested on nightly build apk after the merge of this request gave this exception:- Exception
Crash log
|
This is a consequence of TeamNewPipe#11024 x
|
@Paragraph1148 thanks for reporting, see #11711 |







What is it?
Description of the changes in your PR
The playlists' bookmark items do not align correctly and have a layout overlap issue when the channel name is in a right-to-left (RTL) language, such as Arabic. Therefore, this change focuses on adding a right boundary to the uploader element, similar to the playlist title, to resolve this issue.
Also, make small adjustments to some items to align them with the uploader element.

Before/After Screenshots/Screen Record
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