android - RecyclerView with fade effect
问题描述
I'm trying to implement a RecyclerView with fade edges. I'm using these attributes:
android:fadingEdge="horizontal"
android:fadingEdgeLength="800dp"
android:fillViewport="false"
android:requiresFadingEdge="vertical|horizontal"
And getting this result:
The problem is that the bottom items (from Green to the bottom) are faded and never get un-faded.
Is there a way to tell the RecyclerView to scroll until the last item is above the "Bla Bla" frame? but still have the edge effect.
Thanks :-)
解决方案
推荐阅读
- python - 输入框中的按键事件
- jenkins - Jenkins 节点插件抛出 npm-git 安装错误
- javascript - 在 React Redux 应用程序中的 Windows 10 上开玩笑“未找到测试,以代码 1 退出”错误
- java - 我将 Main 方法放在哪里?
- firebase - Firebase 安全规则访问 newData 节点名称
- html - 返回顶部链接的可访问性
- javascript - 如何访问数组中的 JavaScript 对象?
- python - 在 keras 中为 (60000, 28, 28) 数组定义输入形状时出错
- python - center_longitude 上 cartopy 等高线图中的白线
- javascript - 正则表达式给出不正确的结果