I develop support classes for my application in another project, and later, I add it to my app. I have made a class that shows a dialog, and works perfectly in its project, but when I add it to my app’s project doesn’t recognize the layout and its elements.

I’m sure all are added, but seem like any haven’t reference in the R xml. Do you know any solution? Thanks a lot!
You need to add the
Reference/Library Projectin theBuild Pathof yourRunning applicationthen only you can use elements and layouts of thatReference/Library Projectinto yourRunning application.Hope it helps you.
Thanks.