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
App crashes on pre-Lollipop #45
Comments
The cause of the crash is obviously VectorDrawable. FYR |
Yeah....I just saw that:
you should use
I applied the changes and it now works on my kitkat device |
I don't know that documentation! |
So one more thing: How will I go about to transition text together with images ??? i.e if I have a list of items where each item has an image (on the left) and some text (on the right). A click on an item should provide a transition for both the image and the text: i.e on opening a new fragment which provides the details for that item, the image moves up (as per the demo), meanwhile the text moves down i.e below the image. |
Can you upload screen shot? |
Hi, I think this link speaks more than a plain, still screenshot :)... Of course the textview doesn't have a "perfect animation" but the idea (at least from my perspective) is to see it popping out from the bottom... you can check out the AndroidAuthority app which gives a perfect illustration of what i'm talking about |
Simply put: how do I accomplish what we see (the transition/animation effect) on the gif file you provided as an illustration of how the library works ? |
You can do that following code
|
thanks....but where exactly do I add these lines of code ?? |
I forgot that probably you should use OnPreDrawListener in detail activity. |
I ran the app on a samsung device (kitkat) and the app crashed.
I cloned the project and launched it on kitkat device the app crashed. I created a new project, went the other way round i.e I added the library in the gradle file I still got the same crash .. Beyond api 19 it seems to work. I tested using the sample and by creating a custom project (and hence importing the library in the gradle file) it works perfectly .....
The error is on the MainActivity:
this is the line where the error points to: super.onCreate(savedInstanceState);
Exception while inflating org.xmlpull.v1.XmlPullParserException: Binary XML file line #17 tag requires viewportHeight > 0
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052
Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #17: invalid drawable tag vector
The text was updated successfully, but these errors were encountered: