Skip to content

Commit 97ecb39

Browse files
committed
style: fix card content background mismatch in stopped state
- Set internal label root background to null to ensure it inherits parent card's background. - Ensure LargeActionCard correctly reflects 'colorClashStopped' without rectangular artifacts. - Synchronize card dimensions and padding with Material 3 design specifications.
1 parent 610cff4 commit 97ecb39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

design/src/main/java/com/github/kr328/clash/design/view/LargeActionCard.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class LargeActionCard @JvmOverloads constructor(
3737
}
3838

3939
init {
40-
binding.root.setBackgroundColor(Color.TRANSPARENT)
40+
binding.root.background = null
4141

4242
context.resolveClickableAttrs(attributeSet, defStyleAttr) {
4343
isFocusable = focusable(true)

0 commit comments

Comments
 (0)