Skip to content
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

Fix Button Layout Overflow #21577

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

Akshaykomar890
Copy link

Fix Button Layout Overflow #21137

Solution: Added the android:layout_weight="1" property to the button's style, which ensures that the button receives equal space alongside other buttons, preventing it from breaking into multiple lines.

Before:-
WhatsApp Image 2025-01-11 at 9 08 04 PM

After:-
WhatsApp Image 2025-01-11 at 9 08 03 PM

Result: The button now fits within the available width and maintains a consistent, clean appearance on different screen sizes, enhancing the overall user interface.

>Issue: The button "THE VERSION FROM ANOTHER DEVICE" was not fitting within its allocated space and was spilling over into a second line, leading to a cluttered UI.

>Solution: Added the android:layout_weight="1" property to the button's style, which ensures that the button receives equal space alongside other buttons, preventing it from breaking into multiple lines.

>Result: The button now fits within the available width and maintains a consistent, clean appearance on different screen sizes, enhancing the overall user interface.
@Akshaykomar890 Akshaykomar890 changed the title Fix Button Layout Overflow [#21137](https://github.com/wordpress-mobile/WordPress-Android/issues/21137) Fix Button Layout Overflow #21137 Jan 11, 2025
@Akshaykomar890 Akshaykomar890 changed the title Fix Button Layout Overflow #21137 Fix Button Layout Overflow Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant