oppia-android
oppia-android copied to clipboard
Math expressions can be cut off when they're at the bottom of the card
Describe the bug Math expressions can be cut off when they're at the bottom of the card, likely due to the extra translation that we're doing.
To Reproduce Steps to reproduce the behavior:
- Play through most of 'The meaning of Equal Parts" Fractions lesson
- Reach the state starting with "Mr. Baker chuckled"
- Scroll to the bottom of the content card
- Observe that the 1/2 + 1/4 is being partially cut-off
Expected behavior The text box should grow (or have a bit of extra padding) to make up for potential LaTeX vertical space. We may just need to bake the vertical alignment into that drawable's bounds.
Screenshots

Device
- Device being used: Nexus 5X
- SDK version: 27
Additional context Found during alpha MR2 testing.
@BenHenning check if the issue is resolved. In my device it looks perfect both in portrait and landscape mode.

@rt4914 adding you if this comes under content UI part.
For the concept card explanation text in concept_card_fragment.xml, the images are no longer truncated as this was resolved in #4669
| 5.6", dev | 6.7", beta |
|---|---|
![]() |
![]() |
@adhiamboperes Just to check, do you mean that the original issue has been fixed?
(If not, which part of it is not fixed?)
@seanlip yes this was fixed, I can nolonger reproduce this issue in the latest versions of dev and beta.
Great, thanks! Closing it, then.

