Skip to content

Add a Light colored Theme #21

@GrazianoCapelli

Description

@GrazianoCapelli

A dark theme is a Nightmare to use in bright Environments.
I propose to implement a light Theme to improve the readability in these conditions.
The user should have the possibility to switch between light and dark Theme during the usage.

Here a list of tasks:

  • Add a ListPreference "Color Theme" with 2 items: Dark and Light. The default theme would be the Dark one
  • Add the 2 colors file for Dark and Light theme (Theme.AppCompat.DayNight). We should start using the complementary colors, and the red instead the yellow (as shown in the screenshot here below)

Here a first UI mockup of the light theme, just to start the implementation:

Clinometer_light

No translations are needed for the 3 new strings, we manage them on Crowdin. Please don't push translated strings, but only the american english one (strings.xml).
If you want to see an example of how we would like to implement the dark/light theme, you can look at GPS Logger.
We could evaluate to add a third item to theme preference, to follow the "System" settings.

PS: no third party libraries to implement the theme, we should use the standard Android way (like GPS Logger).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions