PhoneLayoutInflaterpublic class PhoneLayoutInflater extends android.view.LayoutInflater
Fields Summary |
---|
private static final String[] | sClassPrefixList |
Methods Summary |
---|
public android.view.LayoutInflater | cloneInContext(android.content.Context newContext)
return new PhoneLayoutInflater(this, newContext);
| protected android.view.View | onCreateView(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);
|
|