From 3c0f889db777efd6676e37aea7f3df4919251554 Mon Sep 17 00:00:00 2001 From: jens Date: Mon, 7 Jun 2021 20:02:42 +0200 Subject: [PATCH] Minor corrections. --- .../main/java/com/jens/automation2/ActivitySettings.java | 2 +- .../res/layout/{settings.xml => activity_settings.xml} | 0 app/src/main/res/values/arrays.xml | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) rename app/src/main/res/layout/{settings.xml => activity_settings.xml} (100%) diff --git a/app/src/main/java/com/jens/automation2/ActivitySettings.java b/app/src/main/java/com/jens/automation2/ActivitySettings.java index 21fa8e8..8cacc58 100644 --- a/app/src/main/java/com/jens/automation2/ActivitySettings.java +++ b/app/src/main/java/com/jens/automation2/ActivitySettings.java @@ -14,6 +14,6 @@ public class ActivitySettings extends PreferenceActivity protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - addPreferencesFromResource(layout.settings); + addPreferencesFromResource(layout.activity_settings); } } diff --git a/app/src/main/res/layout/settings.xml b/app/src/main/res/layout/activity_settings.xml similarity index 100% rename from app/src/main/res/layout/settings.xml rename to app/src/main/res/layout/activity_settings.xml diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 4b9ae63..a6a34cd 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -10,10 +10,10 @@ - Home - Locations - Rules - Profiles + @string/overview + @string/pois + @string/rules + @string/profiles 0