android - Is it ok to use DialogFragment in fullscreen to simulate a new activity? -
i trying know if ok manage "navigation" of app dialogfragments time, putting them in fullscreen if activities. thank much
you can this. can opposite (using activities dialogs, weird).
the real reason reuse fragment both dialog , full screen view, perhaps different screen sizes, etc.
you might have ui design in want piece of ui appear dialog in situations, full screen or embedded fragment in others (perhaps depending on whether device large screen or small screen). dialogfragment class offers flexibility because can still behave embeddable fragment.
http://developer.android.com/guide/topics/ui/dialogs.html#fullscreendialog
doing in general no real reason odd practice
Comments
Post a Comment