jQuery in Action, 3rd edition
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Reusable Layout" Watch "Reusable Layout" New topic

Reusable Layout

Ross Crockett
Ranch Hand

Joined: Aug 25, 2009
Posts: 30
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Reusable Layout
It's not a secret anymore!