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

Loading isse #375

Closed
JagadishaIncture opened this issue Apr 12, 2020 · 3 comments
Closed

Loading isse #375

JagadishaIncture opened this issue Apr 12, 2020 · 3 comments

Comments

@JagadishaIncture
Copy link

android.view.InflateException: Binary XML file line #133: Binary XML file line #133: Error inflating class
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2946)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3081)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
at android.os.Handler.dispatchMessage(Handler.java:106)

@hdodenhof
Copy link
Owner

Please post the full stack trace - you left out the relevant parts.

@JagadishaIncture
Copy link
Author

JagadishaIncture commented Apr 24, 2020

Caused by: android.view.InflateException: Binary XML file line #59: Binary XML file line #59: Error inflating class de.hdodenhof.circleimageview.CircleImageView


<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/fimage"
android:layout_width="@dimen/_90sdp"
android:layout_height="@dimen/_90sdp"
android:layout_gravity="center"
android:scaleType="fitXY"
android:src="@drawable/icon_add_picture"
tools:ignore="ContentDescription" />

@hdodenhof
Copy link
Owner

You are using an unsupported scale type. From the readme:

The ScaleType is always CENTER_CROP and you'll get an exception if you try to change it. This is (currently) by design as it's perfectly fine for profile images.

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