ViewPager.DecorView


@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = ElementType.TYPE)
@Inherited
annotation 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. An example being PagerTitleStrip.

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