question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App Information cut off at bottom on small screen

See original GitHub issue

Avoid 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.x released 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.

  1. Build variant deviceDebug on branch release/1.12.x
  2. Run on Nexus 5 emulator, API 30, Font size: Default, Display size: Default.
  3. Tap three-dot overflow menu > App Information
  4. 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.)

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

The layout is https://github.com/corona-warn-app/cwa-app-android/blob/release/1.12.x/Corona-Warn-App/src/main/res/layout/fragment_information.xml

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:closed
  • Created 3 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
d4rkencommented, Feb 12, 2021

https://github.com/corona-warn-app/cwa-app-android/pull/2180#issuecomment-778348094

@vaubaehn Yes, #2302 will fix the layout for both version information entries.

Pixel 3a at max font and element size:

2reactions
MikeMcC399commented, Feb 8, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apps cut off on bottom of the screen 12 Pro Max
all my apps are updated and I've tried switching between zoomed and standard display but it's still an issue. im running the latest...
Read more >
bottom of windows cut off, various programs, Windows 10
For Display issues one fix that is working is to Roll back or Uninstall the Driver on the Display Device > Driver tab,...
Read more >
Solved: Android App cut off on top and bottom - 10336695
Solved: Hello, a user sent us this screenshot, where the app is transparent on the header and footer area and the desktop is...
Read more >
SwiftUI content gets cut off on smaller iPhone screens
Images are rendered at 100% their size, irrespective of their constraints. This will cause other views to be pushed away. The solution for...
Read more >
The edges of the TV screen are cut off, how can I fix this?
The cutoff of the screen is due to something called "overscan". While most TV's will automatically fit the input image to your screen,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found