This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Android and the fly likes layout inflater in android Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
Bookmark "layout inflater in android" Watch "layout inflater in android" New topic
Author

layout inflater in android

vijayakumar durai
Ranch Hand

Joined: Aug 18, 2008
Posts: 153
can anybody tell what is the use of layout inflater class and inflate method with example?




thanks in advance
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Have you gone through the documentation of this class? API Demos package bundled with the SDK has plenty of examples that demonstrate the use of this class.

In a nutshell, this class is used to inflate XMLs that define Views and ViewGroups. Inflation is a process that includes: parsing of layout XMLs, creation of appropriate View objects and their addition to view hierarchy.

See LayoutInflater Reference for details.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
 
Have you checked out Aspose?
 
subject: layout inflater in android
 
It's not a secret anymore!