ankidroid / ankidroid/Anki-Android

Widget colors don't match theme colors

Open
#18,873 18 comments 0 reactions 0 assignees View on GitHub
2.21 Needs Triage Widget
Dominant language
Kotlin
Stars
11.8k
Forks
2.9k
Avg merge
2d 3h
Merged PRs (30d)
171

Description

### Checked for duplicates?

- [x] This issue is not a duplicate

### Does it also happen in the desktop version?

- [x] This bug does not occur in the latest version of Anki Desktop

### What are the steps to reproduce this bug?

Put a widget in the homescreen

### Expected behaviour

The colors of the widget should either match the system theme or the theme of AnkiDroid

### Debug info

```text
AnkiDroid Version = 2.21.0 (b77bbc46e6284cd973e56321c8fd57c4212402d3)
Backend Version = 0.1.54-anki25.02.7 (25.02.7 98253c81cb3c4d203acec48d6eae6b488bf484d0)
Android Version = 15 (SDK 35)
ProductFlavor = play
Device Info = Nothing | Nothing | Asteroids | AsteroidsIND | A059 | qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 15; A059 Build/AQ3A.241015.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.118 Mobile Safari/537.36
ACRA UUID = d99a4307-7d26-4c83-b765-04d2324aca4f
FSRS = 2.0.3 (Enabled: true)
Crash Reports Enabled = true
```

### (Optional) Anything else you want to share?

I'm not sure if it is due to my wallpaper, which is half black and half white (it changes each time the phone is unlocked). If so, please provide an option to manually set the color

Image

### Research

- [x] I have checked the [manual](https://ankidroid.org/docs/manual.html) and the [FAQ](https://github.com/ankidroid/Anki-Android/wiki/FAQ) and could not find a solution to my issue
- [ ] (Optional) I have confirmed the issue is not resolved in the latest alpha release ([instructions](https://docs.ankidroid.org/manual.html#betaTesting))

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.