Skip to content

Add support for Kelvin as a unit#176

Open
Dangrainage wants to merge 5 commits into
woheller69:masterfrom
Dangrainage:master
Open

Add support for Kelvin as a unit#176
Dangrainage wants to merge 5 commits into
woheller69:masterfrom
Dangrainage:master

Conversation

@Dangrainage

Copy link
Copy Markdown

Add support for Kelvin in AppPreferencesManager.java (through a simple formula to convert Celsius to Kelvin), arrays.xml and strings.xml

Updated temperature conversion methods to include Kelvin as an option for temperature units.
Updated the return value for Kelvin to remove the degree symbol.
@Dangrainage

Copy link
Copy Markdown
Author

I've been testing it out for the past few days to see If there's any issues.
Besides a minor visual bug of the chart being being a bit wonky, as you can see below, It works fine.
IMG_20260707_185119
_20260707_184948
Also here's the build If anyone wants to try it out: app-debug.zip

@woheller69

Copy link
Copy Markdown
Owner

the question is "why would anyone use Kelvin in a weather app". And I am a physicist...

@Dangrainage

Copy link
Copy Markdown
Author

I personally use it to get a better feel for Kelvin, and a couple of my friends use it for their weather apps too. Also, in issue #35 someone already requested it, so I added it.

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.

2 participants