How does android use R.id.id_name to find views after inflating the XML?
R.id.id_name
1.Suppose I have two XML\'s with one button each with same id.
2.I have
It knows which View should it use, because it looks for View with this specific id in a XML file that is currently set as content view (or is inflated).
View
id