Thursday, March 3, 2011

0

Fragments For All

  • Thursday, March 3, 2011
  • Ric RAT
  • Share
  • [This post is by Xavier Ducrohet, Android SDK Tech Lead. — Tim Bray]

    A few weeks ago, Dianne Hackborn wrote about the new Fragments API, a mechanism that makes it easier for applications to scale across a variety of screen sizes.

    However, as Dianne noted, this new API, which is part of Honeycomb, does not help developers whose applications target earlier versions of Android.

    Today we’ve released a static library that exposes the same Fragments API (as well as the new LoaderManager and a few other classes) so that applications compatible with Android 1.6 or later can use fragments to create tablet-compatible user interfaces.

    This library is available through the SDK Updater; it’s called “Android Compatibility package”.

    0 Responses to “Fragments For All”

    Post a Comment

    Subscribe