The same id may get different view objects

In doubt


findViewByid(id);According to the id value, the setContentView();corresponding view object will be found in the layout file specified at the time.
Therefore, the id value can be the same in different layout files. Will not conflict.

Guess you like

Origin blog.csdn.net/wx_assa/article/details/107772315