Overview
Built with Jetpack Compose, the Schedule Screen displays a full day’s schedule with color-coded cards for each class, break periods, and an interactive day selector.Data Model
The schedule uses theClassSession data class to represent individual classes:
ClassSession.kt
UI Components
ScheduleHeader
The header displays semester information and an interactive day selector:ScheduleScreen.kt:130-174
- TecBlue background with rounded bottom corners
- Current semester label (e.g., “SEMESTRE AGO-DIC 2026”)
- Large “Horario” (Schedule) title
- Five day chips for week navigation
ScheduleDayChip
Day selector chips with selection state:ScheduleScreen.kt:177-214
- Selected day: White card with TecBlue text and indicator
- Unselected days: Transparent background with white text
- Tall card format (88dp height) for prominent day selection
TimeClassCard
The main component for displaying individual class sessions:ScheduleScreen.kt:217-318
- Time column: Start hour displayed on the left in gray
- Color-coded left border: Each subject has a unique color
- Background color: Light tinted background matching the border color
- Room tag: Small badge in the top-right (e.g., “A2”, “Lab 3”)
- Time range: Icon with start and end time at the bottom
Color Coding System
Different subjects use distinct color schemes:ScheduleScreen.kt:73-121
LunchCard
A special card for break periods:ScheduleScreen.kt:321-357
- Centered text with 🍴 emoji
- Light gray background
- Same time format as class cards
Sample Schedule Data
The app uses fake data for demonstration:FakeData.kt
Screen Layout
ScheduleScreen.kt:62-126
Design Features
Color Coding
Each subject has a unique color for its left border and background tint, making it easy to distinguish classes at a glance.
Chronological Layout
Classes are displayed in time order from top to bottom, with start times aligned to the left for easy scanning.
Room Tags
Prominent room/building tags in the top-right of each card help students quickly identify where to go.
Break Periods
Lunch and break periods are visually distinguished with muted styling and emoji indicators.
Key Information Display
Each class card prominently displays:- Subject name in bold, large text
- Teacher name in medium-weight text
- Time range with clock icon at the bottom
- Classroom location as a badge in the corner
- Visual accent through color-coded left border
Future Enhancements
Interactive Day Selection
Planned: Click day chips to filter and view schedules for different days of the week.
Class Details
Planned: Tap class cards to view detailed information, including syllabus, assignments, and grades.
Related Features
Home Screen
See today’s schedule overview on the Home Screen
Campus Map
Find classroom locations on the campus map
