How can I set Styles and Themes to linearlayout, in android programmatically ?
Asked
Active
Viewed 1,266 times
1 Answers
0
You can implement it by using a dynamic structure where all the designing info will come from server
- For that you have to create a xml having list of themes what names you required to give associated with an id.
- Parse xml and show its content to a list then at selection of an item of list save id associated with it in your shared preferences.
- Each time when the designing part will be loaded you will send id with it as
http://xyz.abc.com/images/menu-images/your_id
which will respond you with an image or design info related to that theme id. - To save downloading each time of content indroduce a check that if value saved in preferences then use existing image saved or cached in application.

Marvin Pinto
- 30,138
- 7
- 37
- 54

ashish.n
- 1,234
- 14
- 30