Generate pages content from Server

Hi, i’m developing an Android App, and now i’m in a bind.

I want generate content from multiple pages (Fragments) dynamically.
But more, I want generate that content from data coming from a server app.

I want do this, because they are 10 similar pages, and I don’t want generate the xml layout for each page. And more, if i’m getting the pages from server, I can set if user as access to that page or not, if yes, send that data to app. And if I use the server to set the pages, I can increase my pages…

Is that a good idea? Thanks