UI bug
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- mobile-dev
Research direction
Inspect res/layout/activity_start.xml, especially the horizontal row containing the documentation and start buttons and its weighted spacer. Reproduce the clipping on an Android emulator at 540 dpi with fontScale 1.3, then adjust the layout so both button outlines and backgrounds remain fully visible. Verify the layout at the reported baseline and larger text scale; the issue identifies no specific automated test, so manual emulator checks are the completion criterion.
Written by the indexing model from the issue text.
Description
Welcome screen clips the Documentation and Start button outlines
Environment
- App PackageManager
v8.0(version code80) - Package
com.smartpack.packagemanager - Android 9 (API 28) emulator, 1080 × 1920 px, portrait, English UI
- The comparisons below vary display density and fontScale. DEFAULT uses 420 dpi and fontScale 1.0.
Steps to reproduce
Launch PackageManager while the welcome screen is still pending. Inspect the two bottom buttons without pressing Start.
Actual behavior
At 540 dpi/fontScale 1.3 the outer edges of Documentation and Start are cropped by the row. The left side of the Documentation outline and right side of the Start background are visibly cut. The 420/1.0 baseline shows both outlines.
Expected behavior
Both buttons, including their backgrounds and outlines, fit within the welcome screen.
Files to inspect
res/layout/activity_start.xml, the horizontal row containingdocumentation,startand its weighted spacer (decoded lines 9–11).
Likely cause
The two 15sp Material buttons use wrap_content and share a single horizontal row. Their labels, icons and insets exceed the row’s available width at the larger text scale. The weighted spacer can collapse, but cannot reclaim enough space once the two intrinsic button widths exceed the budget.
Possible fix
Switch the actions to rows that can stack under a width constraint, or otherwise allocate the full measured width for each button.
Screenshots to attach
(screenshots/DEFAULT.png)
(screenshots/DPI_540_FONT_1_3.png)
- Dominant language
- Java
- Stars
- 877
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SmartPack/PackageManager
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SmartPack/PackageManager#186 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
SmartPack/PackageManager#185 ·
-
CaosOpen
Difficulty 3/5 Half a day Newbie friendliness 30/100
SmartPack/PackageManager#183 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
SmartPack/PackageManager#182 ·
-
ReportOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
SmartPack/PackageManager#180 ·
All issues in SmartPack/PackageManager
Similar issues
-
Area: Java feature request needs triage OS: Windows
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
actions/runner-images#15457 ·
Maintainers usually reply within 3 days
-
iOS CocoaPods build fails: Package.swift included in sources causes No such module 'PackageDescription'Possibly taken @dattm97 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MewX/light-novel-library_Wenku8_Android#253 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jarvis2f/telegram-files#160 ·
-
Android Spreadsheet reads the wrong column for multi-letter references when useHeaders is falseOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mit-cml/appinventor-sources#4272 · 1 comment ·
Maintainers usually reply within 1 day