FileDocCategorySizeDatePackage
PhoneLayoutInflater.javaAPI DocAndroid 1.5 API2409Wed May 06 22:42:06 BST 2009com.android.internal.policy.impl

PhoneLayoutInflater

public class PhoneLayoutInflater extends android.view.LayoutInflater

Fields Summary
private static final String[]
sClassPrefixList
Constructors Summary
public PhoneLayoutInflater(android.content.Context context)
Instead of instantiating directly, you should retrieve an instance through {@link Context#getSystemService}

param
context The Context in which in which to find resources and other application-specific things.
see
Context#getSystemService

    
                                                       
       
        super(context);
    
protected PhoneLayoutInflater(android.view.LayoutInflater original, android.content.Context newContext)

        super(original, newContext);
    
Methods Summary
public android.view.LayoutInflatercloneInContext(android.content.Context newContext)

        return new PhoneLayoutInflater(this, newContext);
    
protected android.view.ViewonCreateView(java.lang.String name, android.util.AttributeSet attrs)
Override onCreateView to instantiate names that correspond to the widgets known to the Widget factory. If we don't find a match, call through to our super class.

        for (String prefix : sClassPrefixList) {
            try {
                View view = createView(name, prefix, attrs);
                if (view != null) {
                    return view;
                }
            } catch (ClassNotFoundException e) {
                // In this case we want to let the base class take a crack
                // at it.
            }
        }

        return super.onCreateView(name, attrs);