Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

MaterialThemeBuilder crash #66

Open
Dkhusainov opened this issue Feb 19, 2021 · 0 comments
Open

MaterialThemeBuilder crash #66

Dkhusainov opened this issue Feb 19, 2021 · 0 comments

Comments

@Dkhusainov
Copy link

material-components: 1.3.0

Reproduce:

  1. Checkout repo
  2. Put this line <item name="android:textColorSecondary">#FA0632</item> in app theme
  3. 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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant