I'm building an app, similar to a quiz app, where layouts and
functionality will be duplicated across a number of subjects. The
activities and layouts will be identical for each subject, the only
difference should be the resources used, e.g. Subject 1 uses button
image 1 and background 1, Subject 2 uses button image 2 etc.

What I'm trying to avoid is having duplicate xml files which would
essentially be identical except for the resources they point at. At
first I assumed I could uses themes to accomplish this but on closer
inspection it doesn't seem possible.

Is there an easy way to do this without duplicating code?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to