我在Android中使用垂直ScrollView.
我需要在ScrollView的顶部和底部添加透明度,使其内容逐渐消失.
谢谢.
您只需添加属性即可
android:requiresFadingEdge="vertical" android:fadingEdgeLength="25dp"