Res cleanup

This commit is contained in:
tarsin committed 2022-12-01 09:57:59 +08:00
1 parent 36383b6f47
commit 367e3b3a93
4 files changed
+2 -5

No files matched your search

@@ -28,6 +28,7 @@ import android.view.View
import android.view.ViewGroup
import android.widget.*
import androidx.annotation.IntDef
import androidx.appcompat.view.ContextThemeWrapper
import androidx.core.content.edit
import androidx.preference.PreferenceManager
import androidx.recyclerview.widget.DefaultItemAnimator
@@ -329,7 +330,7 @@ class SearchLayout @JvmOverloads constructor(
inner class IdentifiedChip @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null
) : Chip(context, attrs, R.attr.filterChipStyle) {
) : Chip(ContextThemeWrapper(context, com.google.android.material.R.style.Widget_Material3_Chip_Filter), attrs) {
var idt = 0
}
-2
View File
@@ -135,6 +135,4 @@
<attr name="draggable" format="boolean" />
</declare-styleable>
<attr name="filterChipStyle" />
</resources>
-1
View File
@@ -15,7 +15,6 @@
-->
<resources>
<color name="primary_drawable_black">#ccffffff</color>
<color name="red_500">#fff44336</color>
<color name="yellow_800">#fff9a825</color>
<color name="brown_500">#ff795548</color>
-1
View File
@@ -21,7 +21,6 @@
<item name="tagGroupBackgroundColor">?attr/colorPrimaryContainer</item>
<item name="tagBackgroundColor">?attr/colorTertiaryContainer</item>
<item name="filterChipStyle">@style/Widget.Material3.Chip.Filter</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Rikka.Material3</item>
<item name="snackbarStyle">@style/Snackbar</item>
<item name="snackbarButtonStyle">@style/SnackbarButton</item>