Skip to content

Most visited

Recently visited



public static class GuidedStepFragment.GuidedStepBackgroundFragment
extends Fragment


Default implementation of background for covering content below GuidedStepFragment. It uses current theme attribute guidedStepBackground which by default is read from android:windowBackground.


Inherited XML attributes

From class

Inherited constants

From interface android.content.ComponentCallbacks2

Public constructors


Public methods

View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

Called to have the fragment instantiate its user interface view.

Protected methods

void onProvideFragmentTransitions()

Sets fragment transitions for GuidedStepBackgroundFragment.

Inherited methods

From class
From class java.lang.Object
From interface android.content.ComponentCallbacks2
From interface android.view.View.OnCreateContextMenuListener
From interface android.content.ComponentCallbacks

Public constructors


GuidedStepFragment.GuidedStepBackgroundFragment ()

Public methods


View onCreateView (LayoutInflater inflater, 
                ViewGroup container, 
                Bundle savedInstanceState)

Called to have the fragment instantiate its user interface view. This is optional, and non-graphical fragments can return null (which is the default implementation). This will be called between onCreate(Bundle) and onActivityCreated(Bundle).

If you return a View from here, you will later be called in onDestroyView() when the view is being released.

inflater LayoutInflater: The LayoutInflater object that can be used to inflate any views in the fragment,
container ViewGroup: If non-null, this is the parent view that the fragment's UI should be attached to. The fragment should not add the view itself, but this can be used to generate the LayoutParams of the view.
savedInstanceState Bundle: If non-null, this fragment is being re-constructed from a previous saved state as given here.
View Return the View for the fragment's UI, or null.

Protected methods


void onProvideFragmentTransitions ()

Sets fragment transitions for GuidedStepBackgroundFragment. Can be overridden.

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)