Overview
Built with Jetpack Compose, the Profile Screen serves as a student information hub with visual stat cards, career information, and class previews. The design emphasizes key academic metrics like semester and GPA.Data Model
The profile uses theStudent data class:
Student.kt
Sample Student Data
FakeData.kt
UI Components
ProfileHeader
A prominent header with student avatar and edit button:ProfileScreen.kt:142-198
- TecBlue background with large rounded bottom corners (36dp)
- “MY PROFILE” title
- Large circular avatar (120dp) with person icon
- Edit button in bottom-right corner with TecGold background
Control Number Display
The student control number is displayed prominently below the header:ProfileScreen.kt:62-67
StatCard
Dual-purpose cards for displaying academic statistics:ProfileScreen.kt:201-254
Semester Card (Left)
ProfileScreen.kt:75-81
- White background
- School icon in TecBlue
- Displays current semester number (e.g., “8”)
Average Grade Card (Right)
ProfileScreen.kt:83-90
- TecBlue background
- TrendingUp icon in TecGold
- Displays GPA/average (e.g., “92.5”)
- White text for contrast
CareerCard
A prominent card displaying the student’s academic program:ProfileScreen.kt:257-306
- Computer icon in orange circular background
- Career name in Spanish (e.g., “Ingeniería en Sistemas Computacionales”)
- English translation below (“Computing Systems Engineering”)
- Chevron right icon indicating it’s tappable
TodayClassCard
Mini class cards showing today’s schedule:ProfileScreen.kt:309-374
- Time: Start hour in gray on the left (e.g., “07:00 AM”)
- Divider: Vertical line separating time from content
- Subject: Class name in bold
- Classroom: Room location below subject
- Status indicator: Circular dot on the right
- Green (active) for current class
- Gray (inactive) for upcoming classes
Screen Layout
ProfileScreen.kt:51-138
Information Hierarchy
The profile screen presents information in a clear hierarchy:- Header: Profile title and avatar with edit button
- Control Number: Student identification
- Statistics: Two side-by-side cards for semester and GPA
- Career: Full-width card with program information
- Today’s Classes: Section header with “View Schedule” link
- Class List: Mini cards for current and upcoming classes
Design Features
Visual Statistics
Large stat cards with icons make key metrics (semester, GPA) immediately visible and easy to understand.
Status Indicators
Green and gray dots clearly distinguish active classes from upcoming ones in today’s schedule.
Editable Profile
Gold edit button in the header suggests that profile information can be updated (future functionality).
Quick Navigation
“View Schedule” link and chevron on career card provide quick navigation to related screens.
Key Information Display
The profile prominently displays:- Student Name: Currently shown in HomeHeader (“Hola, Arlyn”)
- Control Number: Unique student identifier (e.g., “226W0487”)
- Semester: Current semester number with school icon
- GPA: Academic average with trending icon
- Career: Full program name in Spanish and English
- Today’s Classes: Quick preview with active status
Color Scheme
TecBlue
Primary color for headers, icons, and the GPA card background
TecGold
Accent color for the edit button and GPA icon
White & Gray
White cards on light gray background for clean, modern appearance
Current Implementation
The profile currently includes:- Static student data from FakeData.student
- Non-functional edit button (UI only)
- Static today’s classes (no dynamic filtering)
- “View Schedule” text link (no navigation)
- Career card chevron (no detail view)
Future Enhancements
Profile Editing
Enable the edit button to allow students to update personal information and preferences.
Photo Upload
Replace the default icon with a photo upload feature for custom profile pictures.
Academic History
Show semester-by-semester grade history and academic progress over time.
Interactive Links
Make “View Schedule” and career card tappable to navigate to related screens.
Related Features
Home Screen
The home screen displays the student name in the header greeting
Schedule
View complete class schedule with all sessions
