|
@@ -32,3 +32,21 @@ getSupportFragmentManager()
|
|
|
.commit();
|
|
|
|
|
|
I can replace an old Fragment, without knowing the ID of it, with the new one in de SettingsFragment() class.
|
|
|
+
|
|
|
+
|
|
|
+\def\day{\textit{Juli 19st, 2021 Simon}}
|
|
|
+\def\weekday{\textit{Monday}}
|
|
|
+\subsection*{\weekday, \day}
|
|
|
+
|
|
|
+Today I had success in adding settings to the app.
|
|
|
+I used this Tutorial an added the .SettingsAvtivity to the AndroidManifesf with this line
|
|
|
+
|
|
|
+<activity android:name=".ui.home.SettingsActivity"/>
|
|
|
+
|
|
|
+https://www.geeksforgeeks.org/how-to-implement-preferences-settings-screen-in-android/
|
|
|
+
|
|
|
+And I put every raw text into the String file.
|
|
|
+I wanted to do the same with the dimens but we are not shure how we make the default layout sizes
|
|
|
+so i thought i might leave it for now.
|
|
|
+
|
|
|
+
|