LayoutInflater.Factory2
public
static
interface
LayoutInflater.Factory2
implements
LayoutInflater.Factory
android.view.LayoutInflater.Factory2
|
Known Indirect Subclasses
AccountAuthenticatorActivity,
ActionBarActivity,
Activity,
ActivityGroup,
AliasActivity,
AppCompatActivity,
ExpandableListActivity,
FragmentActivity,
LauncherActivity,
ListActivity,
NativeActivity,
PreferenceActivity,
TabActivity
AccountAuthenticatorActivity |
Base class for implementing an Activity that is used to help implement an
AbstractAccountAuthenticator.
|
ActionBarActivity |
This class is deprecated.
Use AppCompatActivity instead.
|
Activity |
An activity is a single, focused thing that the user can do.
|
ActivityGroup |
This class was deprecated
in API level 13.
Use the new Fragment and FragmentManager APIs
instead; these are also
available on older platforms through the Android compatibility package.
|
AliasActivity |
Stub activity that launches another activity (and then finishes itself)
based on information in its component's manifest meta-data.
|
AppCompatActivity |
Base class for activities that use the
support library action bar features.
|
ExpandableListActivity |
An activity that displays an expandable list of items by binding to a data
source implementing the ExpandableListAdapter, and exposes event handlers
when the user selects an item.
|
FragmentActivity |
Base class for activities that want to use the support-based
Fragment and
Loader APIs.
|
LauncherActivity |
Displays a list of all activities which can be performed
for a given intent.
|
ListActivity |
An activity that displays a list of items by binding to a data source such as
an array or Cursor, and exposes event handlers when the user selects an item.
|
NativeActivity |
Convenience for implementing an activity that will be implemented
purely in native code.
|
PreferenceActivity |
This is the base class for an activity to show a hierarchy of preferences
to the user.
|
TabActivity |
This class was deprecated
in API level 13.
New applications should use Fragments instead of this class;
to continue to run on older devices, you can use the v4 support library
which provides a version of the Fragment API that is compatible down to
DONUT .
|
|
Summary
Public methods
onCreateView
View onCreateView (View parent,
String name,
Context context,
AttributeSet attrs)
Version of onCreateView(String, Context, AttributeSet)
that also supplies the parent that the view created view will be
placed in.
Parameters |
parent |
View :
The parent that the created view will be placed
in; note that this may be null. |
name |
String :
Tag name to be inflated. |
context |
Context :
The context the view is being created in. |
attrs |
AttributeSet :
Inflation attributes as specified in XML file. |
Returns |
View |
View Newly created view. Return null for the default
behavior.
|