1 min readAug 11, 2020
You put your layout file in the usual layout directory. In my case the layout name is view_custom_component.xml.
In my case, I don’t need ID, as I didn’t extract the view to be handled externally to the custom layout class.
There’s a link to a sample code you can download and play with it. Then you’ll get a clear picture of it.