disable article pager stack transformer
This commit is contained in:
parent
4d016aee20
commit
876408abd0
@ -16,7 +16,6 @@ import android.view.View;
|
|||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.view.WindowManager;
|
import android.view.WindowManager;
|
||||||
|
|
||||||
import com.ToxicBakery.viewpager.transforms.StackTransformer;
|
|
||||||
import com.google.gson.JsonElement;
|
import com.google.gson.JsonElement;
|
||||||
import com.viewpagerindicator.UnderlinePageIndicator;
|
import com.viewpagerindicator.UnderlinePageIndicator;
|
||||||
|
|
||||||
@ -94,7 +93,6 @@ public class ArticlePager extends Fragment {
|
|||||||
m_listener.onArticleSelected(m_article, false);
|
m_listener.onArticleSelected(m_article, false);
|
||||||
|
|
||||||
pager.setAdapter(m_adapter);
|
pager.setAdapter(m_adapter);
|
||||||
pager.setPageTransformer(true, new StackTransformer());
|
|
||||||
|
|
||||||
UnderlinePageIndicator indicator = (UnderlinePageIndicator)view.findViewById(R.id.article_titles);
|
UnderlinePageIndicator indicator = (UnderlinePageIndicator)view.findViewById(R.id.article_titles);
|
||||||
indicator.setViewPager(pager);
|
indicator.setViewPager(pager);
|
||||||
|
Loading…
Reference in New Issue
Block a user