App Information cut off at bottom on small screen
See original GitHub issueAvoid duplicates
- Bug is not mentioned in the FAQ
- Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
- Bug is not already reported in another issue
Technical details
- Device name: Nexus 5 emulator, API 30
- Android version: 11
- App version: 1.12.0
branch release/1.12.xreleased version from Google Play Store
Describe the bug
The bottom of the App Information is cut off on a smaller device and cannot be viewed. The app version information is not displayed.
It’s possible this is only an issue with debug builds.
Also, I do not have a whitelisted Google account, so I have no access to the Exposure Notification System API with a debug apk.
Steps to reproduce the issue
After release of 1.12.0 was installed from Google Play Store, I can confirm that the released build also has this issue.
- Build variant deviceDebug on branch release/1.12.x
- Run on Nexus 5 emulator, API 30, Font size: Default, Display size: Default.
- Tap three-dot overflow menu > App Information
- Try to scroll the view
(Note: With Font size: small, the App Information displays fully. With Font size: large the App Information does not scroll.)
Expected behaviour
It should be possible to view the version number by scrolling down. The version number is only partially displayed on this device.
Possible Fix
I temporarily removed the android:screenOrientation="portrait"
under android:name=".ui.main.MainActivity"
in src\main\AndroidManifest.xml
and viewed App Information in landscape orientation on a small screen. I could scroll the view, but it wouldn’t scroll down far enough to display the version number in full.
However, if in addition I remove
android:layout_marginTop="@dimen/spacing_normal"
under LinearLayout
of fragment_information.xml
then the App Information scrolls and reveals the version number. This works both in the original portrait mode and in landscape mode. I don’t think this is the solution, but it may be helpful as a troubleshooting step.
Internal tracking ID: EXPOSUREAPP-5045 duplicate of Internal tracking ID: EXPOSUREAPP-4939 PR #2267
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
@vaubaehn Yes, #2302 will fix the layout for both version information entries.
Pixel 3a at max font and element size:
Hi @ralfgehrer Thanks for the link to PR #2267 and I confirm that the steps to reproduce in this issue show that the PR fixes the issue!
@dsarkar EXPOSUREAPP-5045 is solved by “Fix scrolling issue in InformationFragment (EXPOSUREAPP-4939)” #2267 planned for release 1.13.x.
I suggest leaving this issue open until 1.13 is released, as some people might see the issue on small devices when 1.12 is released.