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

Binary Clock Settings #5

Merged
merged 8 commits into from
Jun 3, 2022
Merged

Binary Clock Settings #5

merged 8 commits into from
Jun 3, 2022

Conversation

thehale
Copy link
Owner

@thehale thehale commented Jun 3, 2022

Add a settings page with the basic customizations required for an MVP version of Binary Clock.

Closes #1
Closes #2
Closes #4

thehale added 8 commits May 14, 2022 00:10
Someone using the Binary Clock by their bedside will likely prefer a
dimmer screen than a person using it at their office desk.

To accomodate both preferences, this commit adds a Settings screen with
a slider to adjust the clock's brightness. The settings are accessible
only via long pressing on the clock face in order to preserve the
minimalist feel of the Binary Clock (a Toast is shown on app launch to
inform the user of how to access the settings.)

Improves #1
Closes #2
For example, the dot worth 32 on the portrait screen will never be used
in the hours column, so it should be hidden.
People new to the Binary Clock might appreciate numeric hints that help
them learn how to read the clock.

This commit adds a setting, disabled by default, that will show those
numeric hints if enabled.

Improves #1
Closes #4
The heirarchy in the SettingsScreen was getting pretty tall, and lots
of styles/layout were getting duplicated between the components.

This commit creates reusable Boolean/Range Setting components that both
look nicer and lay out more nicely.
Binary Clock now has what I consider the minimum viable set of features required
for a successful release on the app store!

Closes #1
Android devices in dark mode couldn't read the title text on the settings screen.

At some future time it would be nice to have full dark mode support, but for now we'll hard code the text to black.
@thehale thehale merged commit be1ddf6 into master Jun 3, 2022
@thehale thehale deleted the BinaryClockSettings branch June 3, 2022 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant