From 6b2dd5b290850301472a7097c84f76972b43b507 Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 26 Mar 2021 20:09:25 +0100 Subject: Add new Preferences activity and allow choosing temperature units --- app/src/main/res/values/arrays.xml | 13 +++++++++++++ app/src/main/res/values/dimens.xml | 1 - app/src/main/res/values/strings.xml | 6 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/values/arrays.xml (limited to 'app/src/main/res/values') diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml new file mode 100644 index 0000000..f82d234 --- /dev/null +++ b/app/src/main/res/values/arrays.xml @@ -0,0 +1,13 @@ + + + Celsius + Fahrenheit + Kelvin + + + + celsius + fahrenheit + kelvin + + \ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index cf00d3f..125df87 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,4 +1,3 @@ 16dp - 16dp \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c90f66a..df21b28 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -14,6 +14,8 @@ %.1f °C + %.0f °F + %.1f °K Last 24h: @@ -40,4 +42,8 @@ Unrecognized device Unknown failure + + Settings + Units + \ No newline at end of file -- cgit v1.2.3