Apply updated design changes to Compose screens#9
Open
Joe3112 wants to merge 6 commits into
Open
Conversation
- Add FocusRing, BgGradientTop, BgGradientBottom, DashedBorder color tokens - Create V2BackgroundBrush radial gradient in Theme.kt - Copy TVCP logo asset for cross-promo banner - Apply gradient background to root Surface in MainActivity Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create V2StepDots with active/inactive pill indicators - Create V2Header with step dots, eyebrow text, and 96sp title - Update HomeScreen with editorial header on time and app selection - Adjust screen padding to 72/96/96/64dp (top/start/end/bottom) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create V2FocusableCard with pink focus ring and lift animation - Create DashedBorder modifier for custom tile styling - Refactor TimeOption to 232dp height with 56sp typography - Update grid spacing to 22dp - Custom tile now uses dashed border with transparent background Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create TVCPBanner component with logo, text, and CTA pill - Add banner to time selection screen with Play Store deep link - Banner is focusable with V2FocusableCard styling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Refactor AppCard with V2FocusableCard and size parameters - Update CuratedApps: 4-col 232dp tiles, redesigned Start Timer and Add Apps - Update AllApps: 6-col 184dp tiles with smaller icons and labels - Apply consistent focus ring and rounded corner styling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replace ConstraintLayout with centered Column - Increase timer ring to 520dp - Update action buttons to 124dp with V2FocusableCard - Apply gradient background - Clean minimal layout: label → ring → buttons Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket | Artifacts | Task
What problems was I solving
TV Timer+ needed a visual refresh to improve the TV viewing experience with larger, more readable tiles, prominent focus states for D-pad navigation, and a more polished editorial design. The previous design used small 100dp tiles with subtle focus states that were difficult to navigate on a TV. This update brings the Compose UI in line with the updated design spec from the Claude Design export.
What user-facing changes did I ship
How I implemented it
Phase 1: Foundation
Added four new color tokens to
Color.ktand createdV2BackgroundBrushinTheme.ktas a radial gradient from top-left lighter to bottom-right darker. Applied the gradient to the rootSurfaceinMainActivity.ktwith transparent container color. Copied the TVCP logo asset.Phase 2: Editorial Header
Created
V2StepDotswith active (24dp) and inactive (12dp) pill indicators. BuiltV2Headercomposable with step dots, eyebrow text, and 96sp title. Integrated into HomeScreen's time and app selection flows with correct step numbering.Phase 3: Time Tiles
Created
V2FocusableCardwith pink (#FFD8E4) 3dp focus ring border and -2dp lift animation on focus. BuiltDashedBordermodifier for custom tile styling. RefactoredTimeOptionto 232dp height with 56sp/W700 typography. Updated grid to 22dp spacing.Phase 4: TVCP Banner
Created
TVCPBannercomponent with logo, eyebrow, title, description, and "Get it" CTA pill. Added to time selection screen with Play Store deep link (market:// intent with web fallback).Phase 5: App Selection
Refactored
AppCardwith size parameters (height, iconSize, labelSize) for different grid contexts. Updated CuratedApps to 4-column 232dp tiles. Updated AllApps to 6-column 184dp tiles with 60dp icons and 22sp labels. Redesigned "Start Timer Only" and "Add Apps" special tiles.Phase 6: Timer Screen
Replaced ConstraintLayout with centered Column layout. Increased timer ring to 520dp. Updated action buttons to 124dp with V2FocusableCard styling. Applied gradient background.
Deviations from the plan
Implemented as planned
Deviations/surprises
Border(BorderStroke(...))wrapper instead of directBorderStroke— necessary adaptation to actual TV Material3 APICardDefaults.shape(shape)instead of direct shape parameter — API compatibility fixAdditions not in plan
Items planned but not implemented
How to verify it
Manual Testing
Automated Tests
Description for the changelog
Visual refresh for TV Timer+ with larger tiles (232dp), editorial header with step indicators, pink focus ring animations, TVCP cross-promo banner, and simplified timer screen layout.