android - Overwrite PNG with 9 Patch and vice versa -
i have library project several app projects utilizing it. of app projects need png files of drawables (i.e. background image) due fact image repeats (i.e. evenly spaced vertical bars) or not if edges stretch. other app projects have solid backgrounds fine have 9 patch images.
sample project structure
library
--res
----drawable-xxxx
------background.png
------some_image.9.png
otherproject
--res
----drawable-xxxx
------background.9.png
------some_image.png
however, if try add 9 patch images 1 of projects, compile time error have duplicate resources same name. there easy way around without having redefine background file in each product (which not maintainable)?
as gabe sechan , scottt pointed out in comments question, name of files has unique identify them.
Comments
Post a Comment