Summary:
Methods
FloatLayout
public
interface
FloatLayout
androidx.constraintlayout.motion.widget.FloatLayout |
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
public 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.
Parameters | |
---|---|
lf |
float |
tf |
float |
rf |
float |
bf |
float |