material-components-android-examples
material-components-android-examples copied to clipboard
MaterialThemeBuilder crash
material-components: 1.3.0
Reproduce:
- Checkout repo
- Put this line
<item name="android:textColorSecondary">#FA0632</item>
in app theme - Launch app, go to components, scroll to bottom
android.view.InflateException: Binary XML file line #37 in io.material.materialthemebuilder:layout/component_bottom_navigation: Binary XML file line #37 in io.material.materialthemebuilder:layout/component_bottom_navigation: Error inflating class com.google.android.material.bottomnavigation.BottomNavigationView
Caused by: android.view.InflateException: Binary XML file line #37 in io.material.materialthemebuilder:layout/component_bottom_navigation: Error inflating class com.google.android.material.bottomnavigation.BottomNavigationView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:854)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1006)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1123)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.inflate(LayoutInflater.java:682)
at android.view.LayoutInflater.inflate(LayoutInflater.java:534)
at io.material.materialthemebuilder.ui.component.ComponentViewHolder$Companion.inflate(ComponentViewHolder.kt:215)
at io.material.materialthemebuilder.ui.component.ComponentViewHolder$Companion.access$inflate(ComponentViewHolder.kt:187)