4

Creating a library project. It should use the theme that has been applied in the application in which this library project is used.How to implement it?It should also respond to theme changes in parent application.

quest
  • 447
  • 2
  • 7
  • 20

1 Answers1

1

You'll need an extra level of resource abstraction - attributes. This blog post explains it pretty well with examples: http://blog.danlew.net/2011/03/03/custom_styles_in_android_libraries/

dud3rino
  • 517
  • 4
  • 8