aspose file tools*
The moose likes Android and the fly likes Reusable Layout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Reusable Layout" Watch "Reusable Layout" New topic
Author

Reusable Layout

Ross Crockett
Ranch Hand

Joined: Aug 25, 2009
Posts: 30
Hello,
Without going as far as creating your own Custom View Component, is there an easy way to create a layout that can be used within other layouts? What I'm after is a sort of JSP include like behaviour where I can create one layout that displays a footer or menu for example, and then include that within other layouts so its on every view. It might be easier to think of the layout as a 'tile' of sorts to be placed in other layouts by some kind of tag.

My hypothetical usage would look something like this:

Misha van Tol
Ranch Hand

Joined: Jan 02, 2010
Posts: 56

Ehm... Yes.
You can nest Layouts.
 
wood burning stoves
 
subject: Reusable Layout