Possible Duplicate:
How to deal with deprecated classes in Android to keep compatibility
I ran into the deprecated Display.getWidth() method and saw that it has been replaced with android.view.getSize(). However getSize() has only been available since API 13 and View appears not to be included in the V4 Android support library.
So, if I want to avoid the deprecated calls, how can I do this without maintaining different projects/builds for various API levels.