【问题标题】:Android auto moving imagesAndroid 自动移动图像
【发布时间】:2015-02-10 00:53:08
【问题描述】:

在 android 中自动移动图像的最佳选择是什么? (图片数量和图片标题随机生成。)

               ____________ 
<- direction   | screen    |

image1image2image3等等..

类似于 android 中的普通画廊,但它必须是自动的。

【问题讨论】:

  • 创建多个不同位置的图像并使用animation-list播放它们?
  • 你的意思是像一个滑块?
  • 不喜欢滑块。我会尝试查看动画。

标签: android image


【解决方案1】:

我用动画解决了。

&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;translate xmlns:android="http://schemas.android.com/apk/res/android" android:duration = "4000" android:fromXDelta="100%p" android:toXDelta="-100%p" /&gt;

【讨论】:

    猜你喜欢
    • 2011-11-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-07
    • 1970-01-01
    • 2011-07-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多