I would like to support multiple dynamic themes for my app. At the same time, I dont want to increase my app bundle size by adding all set of icons and images. I wish, user selectively download from server during runtime.
Following are the two methods I see in stack overflow.
- Make the new styles, icons and background images into separate APK and let the user download from google play and import those values during runtime.
How to release application plugin using Android Market?
- Make the new styles, icons and background images into a zip file and let the user download and save it in SD card. Write a Resourse manager wrapper to parse and read values from the config file inside the zip file.
Create downloadable custom theme and apply it during run time
Option: 2 looks to be a better solution but it has set of limitations like we can set only the bg color and text color.
Could you please let me know which approach is better? Or is there any other better method.