|
@@ -194,6 +194,7 @@ class FilesSpecificViewThemeUtils @Inject constructor(
|
|
|
|
|
|
fun themeStatusCardView(cardView: MaterialCardView) {
|
|
fun themeStatusCardView(cardView: MaterialCardView) {
|
|
withScheme(cardView) { scheme ->
|
|
withScheme(cardView) { scheme ->
|
|
|
|
+ val background = cardView.context.getColor(R.color.grey_200)
|
|
cardView.backgroundTintList =
|
|
cardView.backgroundTintList =
|
|
ColorStateList(
|
|
ColorStateList(
|
|
arrayOf(
|
|
arrayOf(
|
|
@@ -201,8 +202,8 @@ class FilesSpecificViewThemeUtils @Inject constructor(
|
|
intArrayOf(-android.R.attr.state_checked)
|
|
intArrayOf(-android.R.attr.state_checked)
|
|
),
|
|
),
|
|
intArrayOf(
|
|
intArrayOf(
|
|
- scheme.surfaceVariant,
|
|
|
|
- scheme.surfaceVariant
|
|
|
|
|
|
+ scheme.secondaryContainer,
|
|
|
|
+ background
|
|
)
|
|
)
|
|
)
|
|
)
|
|
cardView.setStrokeColor(
|
|
cardView.setStrokeColor(
|
|
@@ -212,7 +213,7 @@ class FilesSpecificViewThemeUtils @Inject constructor(
|
|
intArrayOf(-android.R.attr.state_checked)
|
|
intArrayOf(-android.R.attr.state_checked)
|
|
),
|
|
),
|
|
intArrayOf(
|
|
intArrayOf(
|
|
- scheme.primary,
|
|
|
|
|
|
+ scheme.onSecondaryContainer,
|
|
scheme.surface
|
|
scheme.surface
|
|
)
|
|
)
|
|
)
|
|
)
|