【发布时间】:2021-02-05 19:39:28
【问题描述】:
我将使用 MotionLayout 为文本大小更改设置动画。
我对开始状态执行以下操作
<CustomAttribute
motion:attributeName="textSize"
motion:customDimension="16sp" />
以下是结束状态
<CustomAttribute
motion:attributeName="textSize"
motion:customDimension="14sp" />
结果,看起来大小实际上在变化,但比 14sp-16sp 大得多
那么,如何正确改变文字大小呢?
【问题讨论】:
标签: android android-layout android-motionlayout