android - android中的图像生长动画

标签 android

帮我做安卓动画

首先想在屏幕上显示我的缩略图并单击它,我想用动画显示我的完整图像。就像缩略图正在增长以显示实际图像以占据整个屏幕。

请帮忙。

最佳答案

首先将图像的长度和高度设置为 50dip.. 并将此动画应用于图像..

<scale
android:pivotX="50%"
android:pivotY="50%"
android:fromXScale=".1"
android:fromYScale=".1"
android:toXScale="20.0"
android:toYScale="20.0"
android:duration="1000" />

关于android - android中的图像生长动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5216442/

相关文章:

android - 如何使用 chrome 模拟三星设备上的后退按钮?

android - Google Maps Android API v2 是免费的吗?

android - 如何在android中像钟摆一样摆动图像?

Android Studio 操作栏颜色未更改

android - 如何在android中使用Zxing

Android每10秒选择查询JSON无限循环

android - BlueStacks 上的 Google Play 服务安装失败 : Incompatible with other application(s) using the same share user ID

java - 如何获取局域网中的 IP 地址列表?

android - 如何使用 Robobing 进行异步图像加载?

java - 如何使表格行适合屏幕宽度?