Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error inflating class com.skydoves.powerspinner.PowerSpinnerView (Caused by android.content.res.Resources$NotFoundException: Drawable packagename:drawable/powerspinner_arrow) #164

Open
AzizFasihHazel opened this issue Oct 27, 2023 · 1 comment

Comments

@AzizFasihHazel
Copy link

  • Library Version:
    implementation "com.github.skydoves:powerspinner:1.2.7"
    implementation "com.github.skydoves:powermenu:2.2.3"

  • Affected Android Version(s) [e.g.13,12,11,8]

getting this error on live app Fatal Exception: android.view.InflateException: Binary XML file line #54 and line 54 contains com.skydoves.powerspinner.PowerSpinnerView

Caused by android.content.res.Resources$NotFoundException: Drawable packagename:drawable/powerspinner_arrow with resource ID #0x7f08026e

Caused by android.content.res.Resources$NotFoundException: File res/drawable/powerspinner_arrow.xml from drawable resource ID #0x7f08026e

@AzizFasihHazel AzizFasihHazel changed the title Error inflating class com.skydoves.powerspinner.PowerSpinnerView Error inflating class com.skydoves.powerspinner.PowerSpinnerView (Caused by android.content.res.Resources$NotFoundException: Drawable packagename:drawable/powerspinner_arrow) Oct 27, 2023
@thaidv-earable
Copy link

thaidv-earable commented May 7, 2024

I have same issue with error:
Binary XML file line #138 in layout/input_view: Binary XML file line #138 in layout/input_view: Error inflating class com.skydoves.powerspinner.PowerSpinnerView

This is xml:

<androidx.appcompat.widget.LinearLayoutCompat
            android:id="@+id/llChooseInputType"
            android:layout_width="@dimen/d_120dp"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:orientation="horizontal"
            android:visibility="gone"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent">

            <View
                android:layout_width="@dimen/d_1dp"
                android:layout_height="match_parent"
                android:layout_marginVertical="@dimen/d_15dp"
                android:background="@color/gray_9B9B9B" />

            <com.skydoves.powerspinner.PowerSpinnerView
                android:id="@+id/spInputType"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:paddingVertical="@dimen/d_12dp"
                android:paddingLeft="@dimen/d_12dp"
                android:paddingRight="@dimen/d_6dp"
                android:textColor="@color/white"
                app:spinner_arrow_gravity="end"
                app:spinner_divider_color="@color/white_33FFFFFF"
                app:spinner_divider_show="true"
                app:spinner_divider_size="0.5dp"
                app:spinner_item_array="@array/input_type"
                app:spinner_popup_background="@drawable/bg_input_view_drop_down"
                app:spinner_popup_max_height="@dimen/d_250dp" />

        </androidx.appcompat.widget.LinearLayoutCompat>

Library version:
com.github.skydoves:powerspinner:1.2.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants