Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <android.support.v4.widget.NestedScrollView
- android:id="@+id/fragmentContainer"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- </android.support.v4.widget.NestedScrollView>
- getSupportFragmentManager()
- .beginTransaction()
- .setCustomAnimations(R.anim.slide_right, R.anim.fade_out, R.anim.slide_left, R.anim.fade_out)
- .add(R.id.fragmentContainer, new RankingFragment(), RANKING_FRAGMENT)
- .commit();
- getSupportFragmentManager()
- .beginTransaction()
- .setCustomAnimations(R.anim.slide_right, R.anim.fade_out, R.anim.slide_left, R.anim.fade_out)
- .replace(R.id.fragmentContainer, new com.steveq.photoquiz.ui.fragments.PreparationFragment(), PREPARATION_FRAGMENT)
- .addToBackStack(PREPARATION_FRAGMENT)
- .commit();
- <android.support.v4.widget.NestedScrollView
- android:id="@+id/feed_club_tab_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/feedui_pager_tab"
- android:fillViewport="true"
- app:layout_behavior="android.support.design.widget.AppBarLayout$ScrollingViewBehavior"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement