fix: Custom study menu may look crowded or cluttered when not all items are on a single line each#19108
Conversation
AnkiDroid/src/main/java/com/ichi2/anki/dialogs/customstudy/CustomStudyDialog.kt
Outdated
Show resolved
Hide resolved
It was done in the following device: |
This comment was marked as outdated.
This comment was marked as outdated.
Co-authored-by: lukstbit <52494258+lukstbit@users.noreply.github.com> Each item in Custom study menu may need more than one line, but the current layout (suitable for single-line items) doesn't give the items a sufficient and consistent padding. This PR intends to add the sufficient and consistent padding between the items even if each of the items has more than one line.
230f142 to
48c75a5
Compare
|
Hi there @snowtimeglass! This is the OpenCollective Notice for PRs merged from 2025-09-01 through 2025-09-30 If you are interested in compensation for this work, the process with details is here: https://github.com/ankidroid/Anki-Android/wiki/OpenCollective-Payment-Process#how-to-get-paid We only post one comment per person per month to avoid spamming you, regardless of the number of PRs merged, but this note applies to all PRs merged for this month Please understand that our monthly budget is never guaranteed to cover all claims - the cap on payments-per-person may be lower, but we try to make our process as fair and transparent as possible, we just need your understanding. Thanks! |

Purpose / Description
In translating into other languages, each item in Custom study menu may need more than one line, but the current layout (suitable for single-line items) doesn't give the items a sufficient and consistent padding.

(German)
This PR intends to add the sufficient and consistent padding between the items even in such case.
Fixes
Approach
Use a new layout file which specifies a
paddingVerticalvalue instead of the current layoutOther than that, use the same values as in the current layout file (
simple_list_item_1.xml) below:How Has This Been Tested?
Checked in a physical device (Android 11)
Before / After

(In German)
(Original)

Checklist
Please, go through these checks before submitting the PR.