-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Resolved Issue #5388 + button #5423
Resolved Issue #5388 + button #5423
Conversation
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.
@nicolas-raoul The best solution is to remove the PREVIOUS button from the UploadMediaDetailFragment, as the button is redundant. The PREVIOUS button is not used, as UploadMediaDetailFragment is the first screen in media upload. Also, the PREVIOUS button always stays disabled there. Removing the button will solve the problem of overlapping buttons. |
In order to fix the unit tests, would you mind rebasing (or pulling) from main? Thanks :-)
Unfortunately we often need to |
2b26869
to
09cd247
Compare
My apologies, I missed that, I've done rebasing
Yeah I realised that, I'll try to add some other changes to margin/width
Yeah, I haven't changed anything yet, could you tell me which device/emulator (with dimensions if possible) you have used here |
Thanks for rebasing! :-) I am using a Pixel 7 Pro (real device) with these dimensions and font size: |
Description (required)
The + button near the Edit Image button was not fully visible and thus could not be used properly.
Fixes #5388
What changes did you make and why?
I reduced the marginEnd property of two buttons and also added a translationZ property to the + button so that it always stays above the Edit Image button. I also removed the marginRight property from the PREVIOUS button, as it was redundant due to the presence of marginEnd property.
Tests performed (required)
Tested betaDebug on OnePlus Nord CE 2 Lite with API level 31.
Screenshots (for UI changes only)
Before :

After:

Recording showing the functionality of the + button after the changes:
https://github.com/commons-app/apps-android-commons/assets/142137555/094e41aa-e1bc-44b0-96a5-f6fcb4ff5b02