Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 xml 布局中定义了一个文本视图。但有时它包含很多文本,所以我想添加缩放,以便当用户点击时,它会缩放我的文本。谁能告诉我该怎么做?
缩放可能不是解决您的问题的正确词,您实际上想要增加文本大小并可能添加一些动画,使其看起来像缩放效果。
额外:您可以添加动画来为“缩放”设置动画