I'm going to develop an app for Galaxy Tab. So I want to know, if I develop it under Android 2.3.3, if it will work in all later versions (up to 4.2).
My customer wants the app to be run on Galaxy Tab and Huawei Media Pad.
What would be the appropriate parameters for:
Develop on 4.2, set min required SDK to 2.3, with a little care not to use older APIs that won't work. Android Lint should help.
And, to make it adaptable for all the versions, you will have to patch up some kind of compatibility codes here and there. That should work without any problems.
Theme: There's a nice tutorial how to handle this. http://android-developers.blogspot.in/2012_11_01_archive.html
Basically, you will need to create your own theme, and extend from the corresponding themes, depending on the SDK version (ex, Theme for 2.3 and less, and Theme.Holo for 3.0 and higher), and then you can customize your theme.