I have created an app with a page that need to load content dynamically from web service. I want to have listview that can scroll together with a linear layout inside Nested
Well, I would suggest you 2 ways to solve that problem:
1) Try to make LinearLayout a header of your ListView. Note that header should be inflated as it is written here.
2) You mentioned that you use NestedScrollView, so maybe you should also try to replace ListView inside NestedScrollView with LinearLayout, as wise people suggested here, adding row views in loop similar to how your adapter works.
Good luck!