You can call hide()

http://developer.android.com/reference/android/app/FragmentTransaction.html#hide(android.app.Fragment)

 on the fragments you don't need, or hide their views (or their parents)
yourself and call setUserVisibleHint()

http://developer.android.com/reference/android/app/Fragment.html#setUserVisibleHint(boolean)

As far as zooming the one fragment, you can just adjust the layout of its
content view, or animate it, or do this with its parent view.

-- K

2012/7/14 EpsilonOrion <[email protected]>

> I am making an app that has multiple fragments (Map Fragment, Video
> Fragment, List/Detail Fragment) sharing the app screen at a given time.
> There may be situations where a user may want to maximize one of the
> fragment screens to full window size, and then minimize the screen.  I have
> read through the tutorials that allow for different setups between smaller
> and larger screens or landscape vs portrait, however I have not seen a
> direct method for what I have described.  In other words, are there
> specific commands to use to change the current screen and fragments to a
> single fragment maximized while allow the other fragments to go to
> background or sleep, then pull all fragments back to the main screen.  I
> will be doing this through a button press.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to