ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.48k stars 2.2k forks source link

Themed Widgets #15084

Open danielmehring opened 9 months ago

danielmehring commented 9 months ago

Is your feature request related to a problem? Please describe. Themed widgets would provide a cleaner look on the home screen.

Describe the solution you'd like Remaining the existing widgets and adding two more themed ones.

Additional context So here's how it looks right now: Screenshot_20231225-150832 Screenshot_20231225-150843

And here is a little markup how it would look: Sketch Darkmode Sketch Lightmode

I would love to implement this :)

welcome[bot] commented 9 months ago

Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing

mikehardy commented 9 months ago

If I am correct, is this effectively implementing Material3 / Material You into the app / widget launcher icons?

That's something we should do I think, but I'm not sure how large of a change it is. I know @BrayanDSO has been steadily moving theming / theme improvements forward, so he may have already thought about this and may have ideas

If I'm correct that this is effectively system theming implementation for new theme features available in Android then I like the idea, if this is something that goes past Android theming then I'm less interested in the idea as custom / extra items quickly become a maintenance burden going forward and I resist adding things like that pretty strongly as we have limited maintenance resources vs current maintenance load

BrayanDSO commented 9 months ago

Coloring widgets with Material You colors is possible, yes. About my Material work, I'm waiting for 2.17 to be launched before I start the disruptive changes.


But this issue can be fixed already by anyone that wants to do the job (I'm personally not motivated to do this since I don't use themed icons)

Note: for anyone that wants to tackle this, the Add note widget have a lower priority because people using Android 7.1+ can use the Add shortcut, so the widget will probably be removed when we reach minSdk = 25.

goodbird2 commented 9 months ago

如果能添加「统计」的任意的同步数据到桌面, 也许能令我更有动力.

danielmehring commented 9 months ago

I will to do it

danielmehring commented 7 months ago

I won't keep working on it, I'm sorry!

neeldoshii commented 6 months ago

I am taking it up