With findViewById you are getting a handler id from a view(widget) in an xml layout file so you can manipulate it in code.
With inflate you are creating a view from an entire xml layout file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.