How to create a generic Android XML layout for all activities

Posted by zabawaba on Stack Overflow See other posts from Stack Overflow or by zabawaba
Published on 2012-10-21T04:25:02Z Indexed on 2012/10/21 5:01 UTC
Read the original article Hit count: 121

Filed under:
|

I have an application that needs the same items [5 buttons acting as tabs] in every screen. Is it possible to create a "base XML layout" that has these 5 buttons and then have all the other XML files extend from the bas layout in some way so that I don't have to have multiple buttons that will ultimately have the same functionality.

Is there a better approach to this problem that can be supported by API 9

© Stack Overflow or respective owner

Related posts about android

Related posts about android-layout