public interface FloatLayout

Known direct subclasses
MotionLabel

This class is designed to create complex animated single line text in MotionLayout.


Add support to views that do floating point layout. This can be useful to allow objects within the view to animate smoothly

Summary

Public methods

abstract void
layout(float lf, float tf, float rf, float bf)

To convert to regular layout l = (int)(0.5f + lf); You are expected to do your own measure if you need it.

Public methods

layout

Added in 2.2.0-alpha13
abstract void layout(float lf, float tf, float rf, float bf)

To convert to regular layout l = (int)(0.5f + lf); You are expected to do your own measure if you need it. This will be called only during animation.