Closed user0-07161 closed 1 year ago
Hi, Thanks for your interest in improving BetterUntis.
Please take a look at the Contributing-Section of the Readme file.
It explains how to edit translations and where to open a pull request. I cannot merge your changes into master
.
Regarding the updated preview Image: You seem to have mistakenly removed the alpha channel. If you look at the original image, you can see a transparent border around the image - your edit missed that. Also I feel that the dark background is too dark - take a look at the actual app with the original red color theme in dark mode and pick the dark color from there. Lastly, I see some artifacts around parts of the grey line on top of the dark background.
Ultimately, I'm not too sure about this idea. I looked at other apps and for example the Google Calendar app manages to have different colored previews for light and dark mode: Maybe we could have a look at how they did it.
Hello SapuSeven,
in https://developer.android.com/develop/ui/views/appwidgets/enhance#dynamic-colors it says that as of android 12 it is possible to create different previews for dark/light mode. Therefore, many people are still using an older android version, I think it will not be possible to add this in BetterUntis.
https://developer.android.com/develop/ui/views/appwidgets/enhance#backward-compatibility
There is backwards compability.
Given the feedback I will close this PR. Translations can be done on weblate (see @lm41 's comment), and I agree that the app should take advantage of the modern dynamic widget preview approach. If you want to work on it, feel free to open another PR, and keep the README instructions in mind ;)
Updated some german translations and updated widget preview to show that there is a dark mode for the widget.
Widget Preview: