android - How to load a resource layout into the code -


i have linear layout, defined using xml. reuse it. thus, need load in code. have found getresoruces().getlayout(r.layout.my_layout) returns xmlresourceparser object. how can convert linear layout, please?

have @ layoutinflator. should need.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -