How to install ICS theme for application using minSDK 7?

can someone tell me how can I install a theme for my application that will change when the version of Android changes. For example, if someone uses my application in Android 2.1, the theme will look like this: http://daily-money.googlecode.com/svn/wiki/img/prefs.png

But if someone uses my application, for example, the Android 4.0.3 theme will look like this: http://img.tapatalk.com/dcff019c-27ba-1e1a.jpg I used minSDK 7.

Thank.

+2
source share
3 answers

, : http://android-developers.blogspot.com/2012/01/holo-everywhere.html

" "

2 , values-v11. . , . XML, " Holo, Android 2.x".

+5

Android :

if (android.os.Build.VERSION.SDK_INT >= 11) {

....

en , setTheme (..) setContentView (...) super.oncreate(),

+3

@letroll, setTheme? min sdk 13, SDK ?

0

All Articles