-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust the playlist bookmark item layout for RTL languages #11024
base: dev
Are you sure you want to change the base?
Adjust the playlist bookmark item layout for RTL languages #11024
Conversation
This reverts commit 8267d32.
@TobiGr, for some reason, Android Studio cannot symbolically link this file during the local build
|
Are you using Windows? |
Yes. Windows 11 Pro 23H2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
Quality Gate passedIssues Measures |
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
Before:
After:
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