1、public abstract class LayoutInflater
extends Object
public static LayoutInflater from (Context context)
Since:
API Level 1
Obtains the LayoutInflater from the given context.
2、public abstract class Context
extends Object
public abstract Object getSystemService (String name)
Since:
API Level 1
Return the handle to a system-level service by name. The class of the returned object varies by the requested name. Currently available names are:
-
A
LayoutInflater
for inflating layout resources in this context.
LAYOUT_INFLATER_SERVICE
("layout_inflater")
3、public class
Dialog
extends Object