Android水平 ScrollView 像画廊

标签 android android-animation android-scrollview android-gallery android-scroll

我想在android中制作像画廊 View 一样的水平 ScrollView ,其中居中的图像在滚动时放大。网上经常看到,andriod 里没找到。以下是一个 iOS 应用程序的示例。

enter image description here

我尝试过 Horizo​​ntalScrollView、ListView、ViewPager,但无法在滚动时在中心重现缩放效果,并且下一个图像来自后面。

最佳答案

您可以使用CoverFlow。它是 Android 的一个 View ,具有多种奇特的效果。

  1. https://github.com/davidschreiber/FancyCoverFlow
  2. https://github.com/moondroid/CoverFlow

关于Android水平 ScrollView 像画廊,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32865772/

相关文章:

android - 获取异常作为失败保存状态 : active Fragment has cleared index: -1 when I am pressing home button of android device

android - 同时滚动平行 View

android - 制作弹跳动画

android - 中断翻译动画并开始另一个

java - 当 imageview 的宽度使用 dp 单位时,Android 属性动画不起作用

android - 带有水平滚动的自定义 View

android - 在 ScrollView 中更改滚动条的颜色

java - Android 程序失败。没有错误,没有日志猫。没有任何线索

Android O NotificationChannels 默认类别

找不到 Android cmake 参数方法