Back to project page android-movies-demo.
The source code is released under:
MIT License
If you think the Android project android-movies-demo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.idunnolol.moviesdemo.view; /* w w w.ja v a 2 s . c om*/ import android.content.Context; import android.util.AttributeSet; import android.widget.FrameLayout; /** * This is an unremarkable FrameLayout that is only special because it is * a Decor View, which makes ViewPager leave it around. */ public class DecorFrameLayout extends FrameLayout implements ViewPager.Decor { public DecorFrameLayout(Context context) { super(context); } public DecorFrameLayout(Context context, AttributeSet attrs) { super(context, attrs); } public DecorFrameLayout(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } }