Problem
WorkoutHud.kt and WorkoutTabAlt.kt use fixed heights for action buttons.
Platforms Affected
- ✅ Android tablets
- ✅ iPads (iOS)
Affected Areas
| File |
Size |
Line |
WorkoutHud.kt |
.height(64.dp) |
~214 |
WorkoutTabAlt.kt |
.height(64.dp) |
~222 |
Current Behavior
Action buttons during workouts have fixed 64.dp height regardless of screen size. On tablets, these may be disproportionately small.
Expected Behavior
Buttons should scale with screen size for consistent touch targets (min 48dp, ideally 56-64dp on phones, up to 72dp on tablets).
Suggested Fix
Use dynamic height: height = if (screenWidthDp > 600) 72.dp else 56.dp
Priority
🟢 Medium - Part of workout HUD improvements.
Problem
WorkoutHud.ktandWorkoutTabAlt.ktuse fixed heights for action buttons.Platforms Affected
Affected Areas
WorkoutHud.kt.height(64.dp)WorkoutTabAlt.kt.height(64.dp)Current Behavior
Action buttons during workouts have fixed 64.dp height regardless of screen size. On tablets, these may be disproportionately small.
Expected Behavior
Buttons should scale with screen size for consistent touch targets (min 48dp, ideally 56-64dp on phones, up to 72dp on tablets).
Suggested Fix
Use dynamic height:
height = if (screenWidthDp > 600) 72.dp else 56.dpPriority
🟢 Medium - Part of workout HUD improvements.