android - 像 android L 计算器一样动画更改文本大小

标签 android animation calculator typeface text-size

在 Android L 计算器应用程序中,当您尝试添加超过十位数字时 文字大小随着酷炫的动画而变化。因此文本/字体大小会变小,您可以容纳更多数字
我怎样才能做到这一点 ?

[更新]
As shown in this Video

最佳答案

尝试这些属性。应该是任何人。

    android:translationX=""
    android:translationY=""
    android:transformPivotX=""
    android:transformPivotY=""
    android:scaleX=""
    android:scaleY=""

关于android - 像 android L 计算器一样动画更改文本大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24894623/

相关文章:

java - buildConfigField 无法从 gradle.properties 恢复我的 api key

java游戏编程敌人爆炸

iphone - Segue 使用错误的动画且后退按钮未显示

javascript - 根据输入类型日期 html 在 javascript 中计算 2 个日期之间的时间

Android 开源 Activity 让用户选择/创建媒体?

android - java.lang.NoClassDefFoundError : Failed resolution of: Landroid/support/v4/os/BuildCompat

android - 导航组件的共享 View 转换不起作用

javascript - 如何将事件监听器添加到我的 javascript 函数

c++ - 使用AVRstudi基于ATMega8的计算器

java - while 循环不断结束而不启动 if 语句