public @interface

ViewPager.DecorView

implements java.lang.annotation.Annotation

 androidx.viewpager.widget.ViewPager.DecorView

Overview

Annotation which allows marking of views to be decoration views when added to a view pager.

Views marked with this annotation can be added to the view pager with a layout resource. An example being PagerTitleStrip.

You can also control whether a view is a decor view but setting ViewPager.LayoutParams.isDecor on the child's layout params.

Summary