Skip to content

Commit 1c17165

Browse files
committed
fix
1 parent 07e0a06 commit 1c17165

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ class LargeActionCard @JvmOverloads constructor(
3737
}
3838

3939
init {
40-
// binding.root.setBackgroundColor(Color.TRANSPARENT)
41-
40+
binding.root.background = null
41+
4242
context.resolveClickableAttrs(attributeSet, defStyleAttr) {
4343
isFocusable = focusable(true)
4444
isClickable = clickable(true)
@@ -64,5 +64,6 @@ class LargeActionCard @JvmOverloads constructor(
6464
cardElevation = context.resources.getDimension(R.dimen.large_action_card_elevation)
6565
strokeWidth = 0
6666
setContentPadding(0, 0, 0, 0)
67+
isCheckable = false
6768
}
68-
}
69+
}

0 commit comments

Comments
 (0)