Implement something like the following: 1. Add a graphic element (smoke) to the layout 2. Our smoke should have a basic animation (moves) 3. Our smoke can react to user actions (moving when the button is pressed) 4. Our smoke has the lowest index and is under all elements 5. Our smoke can handle clicks, double clicks, svaypas (animation) 6. Our smoke flows to another fragment, if we change it.

Tell me where to start? I still do not understand how to implement it? Should it be a vector graphic and its subsequent animation? Or something else?

  • Start by creating a custom View in which the animation will occur. If you have not studied, I advise you to do this in more detail, it has all the necessary tools. Smoke can be defined as Path - this is the graphics. Create an animation using streams ... Well, or search for some kind of library - Igor
  • Flows - in the sense of a separate flow, so as not to block ui flow? - Dima Gumanov
  • You understood everything correctly - Igor

0