Android 轮播像画廊

标签 android android-view

嗨,我想在 iPhone 中显示像 Gallery 一样的 Caoursel ,几乎带有旋转属性的 CarouselView 我从 google 找到了两个由渲染脚本组成的项目

thisthis

但我的要求是这样的。我不想显示后 View ,但它应该是 3D 格式。我很努力但没有运气。 enter image description here

我尝试自定义上述项目,但没有成功。

任何帮助将不胜感激 提前致谢

最佳答案

请引用this链接,您需要进行一些修改

  /**
     * The maximum angle the Child ImageView will be rotated by
     */    
    private int mMaxRotationAngle = 60;<------------here 

    /**
     * The maximum zoom on the centre Child
     */
    private int mMaxZoom = -120;<------------here 

根据您的要求

Android Coverflow Widget

我更改了这两个变量,如下所示

![在此处输入图像描述][3]

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

相关文章:

java - 为什么 System.currentTimeMillis() 生成不正确的 long 值?

android - 以编程方式创建 View 时,如何知道要使用哪个 LayoutParams 类?

android - 当重新创建其布局包含 View 的 Activity 时,是否恢复了 View 的 "tag"?

android - 当组扩展时,自动滚动到最后一个子项

android - 软键盘仅在 EditText 焦点上显示一次

android - 必须是 : View. VISIBLE、View.INVISIBLE、View.GONE 之一

Android:setText 破坏格式化字符串

android - View 未保留可绘制的 XML 高度?

java - android中如何将json数据转换为xml?

找不到用于 native react 的 Android SDK