Questions:excluding views, and which transitions are available?
I have 2 questions, if it's ok to ask:
- how do I exclude views from a transition (like Explode transition) ?
- Which built in transitions are available, except for Explode and Fade ? Are they customizable?
All questions are welcomed.
- You can use
public Transition excludeTarget (int targetId, boolean exclude)fromTransitionclass - You can take a look at
Transitionsubclasses: https://developer.android.com/reference/android/transition/Transition.html All of them are available, but are not very customisable. You best chance is to extend one of those and modify the behaviour there.
Thank you. Can you please provide a sample in the repo?
Sure, let me find some spare time to implement it
Thank you !
Hello ,the ActivityAnimations1Binding is not found
sorry,I can't help you. I just have a collection.Has not been downloaded.
在 2015-12-14 22:25:39,"yszx123" [email protected] 写道:
Hello ,the ActivityAnimations1Binding is not found
— Reply to this email directly or view it on GitHub.
@wangyilingithub I don't understand.
@yszx123 yours is a separate issue, not related with this thread. It would probably has something to do with your gradle plugin version. Please take a look at here: http://developer.android.com/intl/es/tools/data-binding/guide.html
Sorry, I closed it so it won't get corrupted with unrelated stuff.
I didn't add the example myself but I'm sure this one (by awesome Nick Butcher) is good enough to get the idea of what can be done:
https://github.com/nickbutcher/plaid/blob/master/app%2Fsrc%2Fmain%2Fjava%2Fio%2Fplaidapp%2Fui%2Ftransitions%2FMorphDialogToFab.java
There you can see how a ChangeBounds transition can be extended to do something else.
Hope this helps!
@lgvalle Sadly I've failed importing it, even now: https://github.com/nickbutcher/plaid/issues/17 For some reason, they said there it's working-as-intended...
Hey @lgvalle
Is it possible to have any of these transition animation in fragment transition (API level 14 to latest) except SharedElement animation transition. basically I want to use explode animation but I am not able to do so please guide me, any lead will be helpful TIA :)
@1jpgodara I think so, but why not create a new issue , instead?
@1jpgodara android.transition.Explode was added in API 21 so unfortunately you can't use that one:
http://developer.android.com/intl/es/reference/android/transition/Explode.html
But as @AndroidDeveloperLB said, please create a separate issue if you want to discuss it any further
@lgvalle Well, as it's probably possible to customize the transition, maybe he can copy the code from there. Just a thought, though...
ok thanks. @lgvalle @AndroidDeveloperLB
I am hoping you can point me in the right direction, no specifics needed... How do I do the animation show in Design Spec - Navigational Transitions, Animation of parent-to-child transition where the calendar stays underneath the fragment.
@Isanderthul This should be in a new post.
thanks, opened new thread.