Yes, you need to use the support library. It is important to know that you can use the support library on a honeycomb and ice cream sandwich. Thus, you can use the same assembly on all platforms. You need to use SDK 4.0 as the target with minsdk 2.2. Another problem is the actions with the settings. For Honeycomb +, you can use PreferenceFragment, which are not yet supported by the support library. If you use the new onBuildHeaders PreferenceActivity method and the header tag in the settings.xml file, you need to place this XML in a separate folder, for example, xml-v12, to indicate that it is used only with API-12 +.
For settings, see: http://developer.android.com/reference/android/preference/PreferenceActivity.html there is a good example onBuildHeaders
For the support library: http://developer.android.com/sdk/compatibility-library.html
source share