File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Badass: Making Users Awesome this week in the Game Development 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.
subject: Reusable Layout