Resource is override in Android
<p>I have library project and main project. In library project, I have an icon with <code>R.id.ic_generic_error</code> and in main project, I have the alternative icon with the same id. In runtime, my app always display main project version of icon although I use package name like that <code>com.libraryname.R.id.ic_generic_error</code>.</p>

<p>Now I wanna use the icon of library. is it possible?</p>