What is a dynamic UI?
Dynamic user interfaces, or dynamic UIs , are portlets or pages that are dynamically created based on the definition of an existing page or portlet definition. A dynamic UI can be launched only by a portlet using the Dynamic UI Manager API.
In which method we write the code to make changes to UI dynamically?
setLayoutParams(new LayoutParams(LayoutParams. MATCH_PARENT, LayoutParams. WRAP_CONTENT)); ll. addView(btn);