Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI rework #27

Merged
merged 4 commits into from
Feb 25, 2025
Merged

UI rework #27

merged 4 commits into from
Feb 25, 2025

Conversation

duartebarbosadev
Copy link
Owner

@duartebarbosadev duartebarbosadev commented Feb 25, 2025

UI/Theme Refresh and Block Option Refactoring

  • Updated HomeFragment UI with a new CircularProgressIndicator inside a CardView, refreshed colorful icons by icons8, and updated button styles.
  • New layout background gradient animation
  • "Day Limit" to "Daily Limit"
  • Removed legacy themes and simplified styling with updated colors and dimensions.
  • Improved Timer Overlay by using a new base theme and replacing hard-coded offsets with a constant.
  • Updated drawable, string, and dimens resources to support the new design.

- Replaced dark gradients with new light color gradients.
- Removed `gradient_list_dark.xml` and associated gradient files.
- Added `gradient_four.xml` for a new gradient.
- Updated `gradient_list.xml` to include the new gradient with longer duration.
- Modified `HomeFragment.kt` to set fade durations for the gradient animation.
- Changed home fragment layout (`fragment_home.xml`):
    - Replaced linear layouts with individual buttons.
    - Rearranged buttons for better layout.
    - Updated button styles and dimensions.
    - Adjusted progress indicator size and styling.
    - Changed 'day limit' to 'daily limit'
    - Changed the rounded corners of the buttons.
- Adjusted the margin between elements in the layout.
- Change default `timeLimit` to 0
- Huge refactor on application theme
- Removed unnecessary files
- HomeFragment.kt redesign
- Tons of new colorful icons by icons8
- Now info text doesn't show the time if time limit isn't activated
@duartebarbosadev duartebarbosadev enabled auto-merge (squash) February 25, 2025 01:59
@duartebarbosadev duartebarbosadev self-assigned this Feb 25, 2025
@duartebarbosadev duartebarbosadev merged commit dd654f4 into main Feb 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant