2021_07.tex 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. \begin{center}
  2. \section*{\month}
  3. \end{center}
  4. \def\day{\textit{Juli 14st, 2021 Simon}}
  5. \def\weekday{\textit{Wednesday}}
  6. \subsection*{\weekday, \day}
  7. I'm reading a book right now about Database and I'm making the setting Fragment. The Recyclerviewer is a little bit annoying
  8. because I don't want to make a pop-up Window but I don't know how to get rid of the Recyclerviewer. And I'm not sure in what design
  9. I want to make the Settings. Also i should borrow a Book for Interface Standarts.
  10. \\
  11. https://source.android.com/devices/tech/settings/settings-guidelines
  12. \\
  13. This is a guidline to how to make Settings but I'm not sure if this should be our Desingtype
  14. \def\day{\textit{Juli 17st, 2021 Simon}}
  15. \def\weekday{\textit{Saturday}}
  16. \subsection*{\weekday, \day}
  17. The last days I added a Settings Fragment. You can see through because there is no Background and when you press the back button on the phone
  18. the App closes. So you can't close the Settings. Also I think we shoul make the Settings at the end because we don't have
  19. all functions.
  20. With android.R.id.content in this use
  21. getSupportFragmentManager()
  22. .beginTransaction()
  23. .replace(android.R.id.content, new SettingsFragment())
  24. .commit();
  25. I can replace an old Fragment, without knowing the ID of it, with the new one in de SettingsFragment() class.
  26. \def\day{\textit{Juli 19st, 2021 Simon}}
  27. \def\weekday{\textit{Monday}}
  28. \subsection*{\weekday, \day}
  29. Today I had success in adding settings to the app.
  30. I used this Tutorial an added the .SettingsAvtivity to the AndroidManifesf with this line
  31. <activity android:name=".ui.home.SettingsActivity"/>
  32. https://www.geeksforgeeks.org/how-to-implement-preferences-settings-screen-in-android/
  33. And I put every raw text into the String file.
  34. I wanted to do the same with the dimens but we are not shure how we make the default layout sizes
  35. so i thought i might leave it for now.