penn-mobile-android icon indicating copy to clipboard operation
penn-mobile-android copied to clipboard

Calendar Text Misalignment

Open baronhsieh2005 opened this issue 2 months ago • 0 comments

Issue:

Currently, our calendar looks this, where the title and the text are misaligned and the cell border is very unclear: image

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: image

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.

baronhsieh2005 avatar Dec 08 '24 19:12 baronhsieh2005