Closed steamedham544 closed 2 years ago
@jwill there's a problem with background colours too in both themes.xml files.
It's name has been set as android:colorBackground
but it's supposed to be backgroundColor
I was wondering why using?attr/backgroundColor
crashes my app.
android:colorBackground
is actually correct, from the spec: https://github.com/material-components/material-components-android/blob/3fdfb6e230767138849edf858c13da1bf1d3f90b/lib/java/com/google/android/material/theme/res/values/themes_base.xml#L39
The other issue with closing tags was resolved in the recent build.
Describe the bug Exporting a theme for Android results in the following bugs:
</item>
.To Reproduce Steps to reproduce the behavior:
Expected behavior
The closing tags in colors.xml should be
</color>
instead of</item>
Dark theme: change the colour referenced in
colorPrimaryInverse
from@color/md_theme_dark_primaryInverse
to@color/md_theme_dark_inversePrimary
Light theme: change the colour reference in
colorPrimartInverse
from@color/md_theme_light_primaryInverse
to@color/md_theme_light_inversePrimary