penn-mobile-android
penn-mobile-android copied to clipboard
Calendar Text Misalignment
Issue:
Currently, our calendar looks this, where the title and the text are misaligned and the cell border is very unclear:
From university_event.xml
, each entry in the calendar is supposed to look like this, where the long horizontal textview is supposed the name of the event, while the date is formatted with the day stacked on top of the month (separated by two textviews), as shown below:
However, the issue is, that in the code, we populate the entire date (month + date) on the month textview, while the day textview is not populated for some reason, hence causing this misalignment.
Solutions
- Separate the date and populate the day and month textview respectively on
UniversityEventAdapter
(Should be a quick fix) - Rewrite the calendar alongside with the homepage redesign with Jetpack, which @Akula112233 is working on.