I have a custom theme in my project which contain a button with a specific color and I want my library's button use this theme. Is it possible? And if yes how can I proceed?
Asked
Active
Viewed 381 times
0
-
Can you be a little more specific, maybe provide an example? – Karakuri Aug 07 '14 at 14:47
-
I have add an example, if you need more information, please says me – letroll Aug 07 '14 at 14:51
-
How is the color of the button in the library determined? Is there a custom XML attribute that set the color? – Karakuri Aug 07 '14 at 14:53
-
the theme and the color are in the project, not in the library – letroll Aug 07 '14 at 14:54
-
That's not what i asked. Does your library define an XML attribute that the button uses to determine its color? These attributes can be used in your main project when you write your layout files. – Karakuri Aug 07 '14 at 14:55
-
no, if possible, I want there are no or not a lot of modification in the main project – letroll Aug 07 '14 at 15:26