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

MaterialThemeBuilder crash #66

@Dkhusainov

Description

@Dkhusainov

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions