I have an application that works on the main theme of "Blank Activity" and what I would like to do is change it to the Master / Detail Flow theme.
I think changing the application flow would be more appropriate than changing the theme. There were two obvious questions: why do you suddenly want to make this change and are sure that your application makes sense in the master / detail stream? The answer is likely to be yes, but you must answer them nonetheless.
I know that this will make my application work with Android SDK 11 + (Android 3.0 Honeycomb +), everything is fine with me
I do not understand why you cannot run applications in versions below using the new master / detail file.
The problem is that I donβt know where to start, what are the main steps to make this a BIG conversion? I could not find any example to help me with this problem. What should I look for. I am sure that this was done, can you at least give me some pointer on how to do this?
You did not provide information about how your application is implemented. The change will revolve around fragments, so the big question will be if the current version with one panel is built using the framework.
If your application is built using fragments, then the change should not be too complicated. You need:
- set which parts (fragments) should be combined into action (from your old ones) to make a master / part (when space allows this)
- change the action of the multilevel panel to accommodate the new fragment (s). This should be easy to do, but it will depend on the size of the functions displayed by each of these fragments.
- change the rest of the actions (when the application will not work in the multi-level panel mode), this will be small changes, since the actions will mainly remain in the current version
If your application is not built using fragments, then what I said above still applies, but you will also need to make the necessary fragments that will have all the functions of your application. This is likely to lead to refactoring of large code.
source share