If you maintain colors, then it would be differentiated by R.color.something from drawables R.drawable.something. I think that shouldn't be a problem. Different classes they are.
-Kumar Bibek http://techdroid.kbeanie.com On Sep 4, 4:18 pm, eli <sweehoe.l...@gmail.com> wrote: > Hi, > > My application has resource conflict problem. Did some investigation, > seems like all the resources within the apk file are cached after they > are loaded on demand. The cache is stored in Resources.java > mDrawableCache. The key to retrieve the drawable from this cache is > combining the data and assertCookie fields of TypedValue class. In my > application, there are 2 resources, ex. a color background and image > drawable, evaluated to the SAME key value.. So just wondering, how can > it happen? > > BTW, I am using eclair SDK. > > Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en