Commit 2d01603
fix(material): use non-transitive R.id/attr references
Material 1.13.0 uses `android.nonTransitiveRClass=true`
Therefore `com.google.android.material.R.attr.colorPrimary` is no
longer usable
`colorPrimary` => androidx.appcompat.R.attr.colorPrimary
`search_src_text` => androidx.appcompat.R.id.search_src_text
https://github.com/material-components/material-components-android/blob/c2051db2a9be2a1e23f1128bfc76a9ff29ede7c4/docs/getting-started.md#non-transitive-r-classes-referencing-library-resources-programmatically
* Added in https://redirect.github.com/ankidroid/Anki-Android/pull/19180
* Split from https://redirect.github.com/ankidroid/Anki-Android/pull/193411 parent 780e489 commit 2d01603
File tree
2 files changed
+2
-2
lines changed- AnkiDroid/src/main/java/com/ichi2/anki/dialogs
- customstudy
- tags
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
0 commit comments