Lines Matching refs:fragment
18 <a href="#fragment">Create the Fragment</a>
37 animation with custom fragment animations.
246 <h2 id="fragment">
250 Create fragment classes for the front and back of the card. These classes return the layouts
252 of each fragment. You can then create instances of this fragment in the parent activity
253 where you want to show the card. The following example shows nested fragment classes inside
260 * A fragment representing the front of the card.
271 * A fragment representing the back of the card.
299 good idea to show a default fragment when the activity is created, so the following example
329 <li>Sets the custom animations that you created earlier for the fragment transitions.
331 <li>Replaces the currently displayed fragment with a new fragment and animates this event
334 <li>Adds the previously displayed fragment to the fragment back stack
349 // Create and commit a new fragment transaction that adds the fragment for the back of
350 // the card, uses custom animations, and is part of the fragment manager's back stack.
355 // Replace the default fragment animations with animator resources representing
363 // Replace any fragments currently in the container view with a fragment