Skip to content

Commit

Permalink
UI rework (#27)
Browse files Browse the repository at this point in the history
- 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 `BlockOption.DayLimit` to `BlockOption.DailyLimit`
- Change default `timeLimit` to 0
- Huge refactor on application theme
- Removed unnecessary files
- Tons of new colorful icons by icons8
- Now info text doesn't show the time if time limit isn't activated
  • Loading branch information
duartebarbosadev authored Feb 25, 2025
1 parent 8202815 commit dd654f4
Show file tree
Hide file tree
Showing 28 changed files with 673 additions and 896 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/AppTheme.Monet">
android:theme="@style/AppTheme">
<service
android:name=".services.ScrollessBlockAccessibilityService"
android:enabled="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ package com.scrolless.app.features.home

enum class BlockOption {
BlockAll,
DayLimit,
TemporaryUnblock,
DailyLimit,
IntervalTimer,
NothingSelected
}
Expand Down
Loading

0 comments on commit dd654f4

Please sign in to comment.