Search code examples
androidcustom-viewandroid-custom-view

how to design android project using custom view?


this is not a question that has an exact answer but I need some advice how to develop my application.

I have a web service that sends me all the application information (fonts, styles etc). the purpose is to use the service in multiple devices. I created the data model for my application. Thus I have everything I needed. Now I need to visualise my app upon data coming from server. I thought about custom view, or perhaps multiple custom views to visualise the data upon what kind of view it needs. is that a right choice? or can you give me better advices? thanks


Solution

  • I'd say that's a good way to do it. You can create a Library project where you implement those views so you can use them in multiple apps. Just remember you need to specify the full package name in the layout xml.