• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

which layout is suitable for animation?

That's cool isn't it?
You can use any layout you choose. What's important is implementing the animation transitions. This can happen when you change the Views in a layout, or add/change a Fragment.
Have a look here to start with

https://developer.android.com/training/transitions/

Be aware of the limitations:

Limitations
This section lists some known limitations of the transitions framework:

  • Animations applied to a SurfaceView may not appear correctly. SurfaceView instances are updated from a non-UI thread, so the updates may be out of sync with the animations of other views.
  • Some specific transition types may not produce the desired animation effect when applied to a TextureView.
  • Classes that extend AdapterView, such as ListView, manage their child views in ways that are incompatible with the transitions framework. If you try to animate a view based on AdapterView, the device display may hang.
  • If you try to resize a TextView with an animation, the text will pop to a new location before the object has completely resized. To avoid this problem, do not animate the resizing of views that contain text
 
Back
Top Bottom