Hello.

 * In short:

 What's the proper way to share code and layouts between Android
projects?  (I work with Eclipse)

 * Explanation and my problem:

   I'm working in multiple projects that share the same base (an
activity-less Android project). This project have some graphical
classes with its layouts in xml and require both to work properly.
Normally I copy this code and change the R.id definitions on the
project to match the current 'sub-project' but, obviously, this is not
the proper way of reusing code.

  Now in have two Eclipse projects, one of them has the 'base' code
and the other is the current application. I defined a dependency but
it seems that I can refer to the classes from Java, but I can't in
this other project's layouts.

  I can't believe the way is copy+paste and search+replace...


Kind regards,
  Pablo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to