Anki-Android
Anki-Android copied to clipboard
Text in the deck picker widget is not adjusted for showing 2 decks only
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?
- Add 5 decks to the deck picker widget (I added ✅ at the starts of the deck names to make the spacing clearer).
- The fully sized widget is fine. When resized to height 1 however, the text remains in the same place causing it to be non centered and (if the text is tall enough) show a bit of the third deck's text.
Expected behaviour
When only two decks are shown (the widget has height 1) the text should use different spacing to make the text centered. Also, it should not render the other 3 decks causing the little green bit to show up in the second image.
Debug info
AnkiDroid Version = 2.21alpha18 (5464fe94fefe937fd7eca143805eec18cecde9f3)
Backend Version = 0.1.52-anki25.02.7 (25.02.7 98253c81cb3c4d203acec48d6eae6b488bf484d0)
Android Version = 13 (SDK 33)
ProductFlavor = full
Device Info = Xiaomi | POCO | mondrian | mondrian_global | 23013PC75G | qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 13; 23013PC75G Build/TKQ1.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.61 Mobile Safari/537.36
ACRA UUID = b9d03d9a-5af9-4e67-987e-cc15799171e2
FSRS = 2.0.3 (Enabled: true)
Crash Reports Enabled = true
(Optional) Anything else you want to share?
No response
Research
- [x] I have checked the manual and the FAQ and could not find a solution to my issue
- [x] (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)