标记的东西叫什么? (android 滑动禁用效果)

What is the marked thing called ? (android swipe disabled effect)

我正在尝试寻找有关它的信息以及它的 API 级别。 它仅在用户到达选项卡的末尾时可见,滑动 activity

这是一个名为 fadingEdge 的 android 属性。许多 android 小部件(如 listview、viewpager、scrollview 等)默认使用它。您也可以使用 android:fadingEdge 属性将其放置在您的小部件中。 关于 api 级别,自 API 14 起已弃用,但您仍然可以通过使用 android:requiresFadingEdge 属性请求它来使用它。

有关详细信息,请参阅文档 here

查看https://developer.android.com/reference/android/support/v4/widget/EdgeEffectCompat.html,它在 ViewPager 内部使用。

这是我在 Android 文档中找到的内容:

You can use scrollers (Scroller or OverScroller) to collect the data you need to produce a scrolling animation in response to a touch event. They are similar, but OverScroller includes methods for indicating to users that they've reached the content edges after a pan or fling gesture. The InteractiveChart sample uses the EdgeEffect class (actually the EdgeEffectCompat class) to display a "glow" effect when users reach the content edges.

Link: https://developer.android.com/training/gestures/scroll.html