Search code examples
androidandroid-activitytransitionactivity-transitionpage-fragments

Slide in and out only a portion of an Activity without using fragments


Is it possible to create an activity slide in and slide out transition without animating the whole activity? Similar to fragment transition but with activities.

I know this could easily be done with fragments but I would like to avoid handling multiple fragments in a single activity to avoid creating a God Activity.

What are your thoughts on this?


Solution

  • As we have discussed in the comments, using Child Fragments could be an idea to solve the issue.