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

RadialTransition #2

Closed
kegita opened this issue Feb 8, 2015 · 4 comments
Closed

RadialTransition #2

kegita opened this issue Feb 8, 2015 · 4 comments
Assignees
Labels

Comments

@kegita
Copy link

kegita commented Feb 8, 2015

Hi! Radial Transition is a sort of Custom Activity? and if i would like use it, i have to insert fragments inside it??? Thanks

@ZieIony
Copy link
Owner

ZieIony commented Feb 8, 2015

Hello.
Radial transition is one of the effects of TransitionLayout. It's a kind of a ViewFlipper, so it uses views. You have to add two views to the TransitionLayout instance and call startTransition.

@kegita
Copy link
Author

kegita commented Feb 8, 2015

I have looked at your example and i have seen that you use 3 pl.zielony.carbon.widget.LinearLayout and switch between them with a button. So, inside TransitionLayout, i can't insert fragments but only pl.zielony.carbon.widget.LinearLayout,true??

@ZieIony
Copy link
Owner

ZieIony commented Feb 8, 2015

You can add any View there, not only pl.zielony.carbon.widget.LinearLayout. Adding fragments is also pretty simple. You just have to add a container to the TransitionLayout instance and add your fragment to the container. See the updated sample I just commited.

@kegita
Copy link
Author

kegita commented Feb 8, 2015

Ok,thanks a lot!

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

No branches or pull requests

2 participants