Annotation Interface ViewPager.DecorView

Enclosing class:
ViewPager

@Retention(RUNTIME) @Target(TYPE) @Inherited public static @interface ViewPager.DecorView
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.

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