From 08b40e81c62420e977e82189482fc07c0d6ace31 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 14 May 2023 23:00:00 +0200 Subject: menu / settings --- Readme.md | 5 ++- app/java/res/layout/main.xml | 1 - app/java/res/layout/settings.xml | 26 --------------- app/java/res/xml/settings.xml | 30 +++++++++++++++++ app/java/src/MainActivity.java | 61 +++++++++++++++++++++++++++------- app/java/src/SettingsActivity.java | 22 ++++++++++-- app/java/src/WifiListenerReceiver.java | 4 +-- 7 files changed, 105 insertions(+), 44 deletions(-) delete mode 100644 app/java/res/layout/settings.xml create mode 100644 app/java/res/xml/settings.xml diff --git a/Readme.md b/Readme.md index 0d4f515..9e6fbd6 100644 --- a/Readme.md +++ b/Readme.md @@ -22,6 +22,9 @@ - https://developer.android.com/guide/background/persistent/getting-started - https://developer.android.com/reference/android/net/ConnectivityManager.NetworkCallback -### Menu +### Menu / Settings - https://medium.com/@bhavyakaria/step-by-step-guide-to-create-app-settings-using-preferences-in-android-part-1-fa470305b530 - https://code.tutsplus.com/tutorials/how-to-code-a-settings-screen-in-an-android-app--cms-30433 +- https://www.geeksforgeeks.org/how-to-implement-preferences-settings-screen-in-android/ +- https://google-developer-training.github.io/android-developer-fundamentals-course-practicals/en/Unit%204/92_p_adding_settings_to_an_app.html +- https://github.com/google-developer-training/android-fundamentals/tree/master/DroidCafeWithSettings diff --git a/app/java/res/layout/main.xml b/app/java/res/layout/main.xml index 1658965..cc1780c 100644 --- a/app/java/res/layout/main.xml +++ b/app/java/res/layout/main.xml @@ -19,7 +19,6 @@ />