-
Notifications
You must be signed in to change notification settings - Fork 94
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
Inflating error #3
Comments
@HAndroid Hello, thanks for your reply. Can you provide your XML layout file? |
Yes. Circle Layout is added as Library ..
|
I also tried to use your same XML example, and got same inflating error, can't find what is missing..
|
Are you getting this error during build or at runtime? |
During Runtime |
Can you please post your LogCat trace here? |
Below is complete LogCat for the XML same to example, so inflating is at line 8 instead of 29: 04-09 16:38:44.265: W/dalvikvm(22382): VFY: unable to resolve static field 890 (CircleLayout) in Lru/biovamp/widget/R$styleable; |
Looks like that CircleLayout isn't added. Since you've provided screenshot, it looks like that you need to build it manually. Select CircleLayout in your project list. Then in menu (that one on the top) Project->Build. |
The option was build automatically .. But i removed the automatic build, built it manually again, re added it to my project and still same error :( |
Try to change your build target to latest version (4.1.2). Actually, always consider building with latest version of SDK (buildTarget != min SDK version supported, so don't worry). |
Greaaat, the runtime inflating error solved now with build Target 16 :) |
Which layout you are using? If your own - remove visibility="gone" :) |
Thanks a million for help and time :))))) it is great now .. |
There is no restrictions. This is how CircleLayout calculates its size now - it can't perform automatic resizing of views. If this is required - please, create new issue and I'll try to implement this feature. |
It will be helpful to have such feature.. |
@HAndroid thanks for your attention. If you're happy with this library - this is enough for me ) |
Seems like I had the same problem. I will read this topic and example when back to Android development. |
Hello Dmitry,
First Many thanks for this important library, i really needed it ..
But seems i am missing something cause i am getting an inflating error :(
I followed the steps exactly, and checked your example too.. Can't find what is wrong ..
I saw another issue where you replied it might be an issue in manifest file, but i can't see any special line added to the example manifest file ..
Would you kindly help me?
android.view.InflateException: Binary XML file line #29: Error inflating class ru.biovamp.widget.CircleLayout
and that is line 29
<ru.biovamp.widget.CircleLayout
Thanks.
The text was updated successfully, but these errors were encountered: