Apply calming medical assistant UI design to Android app#1
Merged
Conversation
Updated the Android app to match the Figma design specifications with a calming medical theme featuring glass morphism effects and ocean-inspired colors. Changes: - colors.xml: Added complete calming medical theme color palette - Theme.kt: Created Material3 theme matching Figma design - ControlBar.kt: Updated control bar with calming design and glass morphism - ChatComponents.kt: Updated message bubbles and empty state - EnhancedChatScreen.kt: Updated screen container Design System: - Border radius: 12-24dp (matching 1.25rem base) - Glass effect: white with 40-60% opacity - Gradients: Linear from #7c9cb5 to #5d7a8f - Primary colors: Ocean blue theme (#7c9cb5, #5d7a8f, #a8c5d9) - Background: Soft mist (#f8fafb)
Implemented a ChatGPT-style audio visualizer that displays when the AI is speaking, featuring smooth animated circular waves with the calming ocean blue color palette. Features: - AudioVisualizer.kt: New component with multiple animation styles - Circular wave visualizer with 4 concentric animated waves - Each wave has unique frequency, amplitude, and phase - Smooth pulsing gradient center circle - Alternative bar-style visualizer option - Wave Animation: - Multiple layers (80px, 110px, 140px, 170px radius) - Oscillating waves using sine functions - Staggered delays (0ms, 200ms, 400ms, 600ms) for depth - Color gradients: #7c9cb5 → #a8c5d9 → #b8d8d8 → #d4e8ed - Smooth opacity transitions (0.3-0.8) - Integration: - Shows centered when chatState == SPEAKING - Smooth fade in/out with scale animation - Hidden when chat transcript is open - Automatically animates during AI speech - Visual Design: - Ocean-inspired color palette matching theme - Radial gradient center with pulsing animation - Smooth, fluid animations (1.2s-2.6s durations) - Professional medical aesthetic The visualizer provides engaging visual feedback during AI responses, enhancing the calming and professional user experience.
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.
Updated the Android app to match the Figma design specifications with a calming medical theme featuring glass morphism effects and ocean-inspired colors.
Changes:
Design System: