AAPL Stock: 117.81 ( -0.22 )

Printed from

Android 'Fragment' API scales apps to different screen sizes

updated 05:25 pm EST, Fri February 4, 2011

API aims to avoid fragmentation issues

Google has introduced a new Android API that aims to make it easier for developers to scale application layouts across a range of screen sizes and resolutions. The utility, which carries the tongue-in-cheek name 'Fragment,' will arrive as part of Android 3.0 alongside existing scaling capabilities introduced with earlier builds.

Most of the current options are geared for switching between different resolutions and aspect ratios common to smartphones, but the Fragment API is designed for "more radical UI adjustment" as the platform moves toward tablet interfaces presented on large screens, according to a blog post from Google software engineer Dianne Hackborn. Developers can tweak the UI layouts and features to suit a wider range of possible devices.

"For developers starting work on tablet-oriented applications designed for Android 3.0, the new Fragment API is useful for many design situations that arise from the larger screen," Hackborn explains. "Reasonable use of fragments should also make it easier to adjust the resulting application's UI to new devices in the future as needed -- for phones, TVs, or wherever Android appears."

Although the Fragments API will first arrive on Android 3.0, Google is working to bring the same functionality as a static library for versions back to Android 1.6.

by MacNN Staff



  1. facebook_Omega

    Via Facebook

    Joined: Feb 2011


    I'm impressed

    Now one word or mention of iproducts in this new story. Thank you for your pure journalistic endeavor here. PLEASE keep up the good work. ;)

  1. AdamC

    Joined: Dec 1969


    It's not the screen size

    It's not the screen size it is the many different manufacturers' build.

    And this means the developers have to test the app on the many manufacturers' sets.

    Anyway good luck to those who develop for android.

    Don't forget the app is easily ripped off.

Login Here

Not a member of the MacNN forums? Register now for free.


Network Headlines

Follow us on Facebook


Most Popular


Recent Reviews

Ultimate Ears Megaboom Bluetooth Speaker

Ultimate Ears (now owned by Logitech) has found great success in the marketplace with its "Boom" series of Bluetooth speakers, a mod ...

Kinivo URBN Premium Bluetooth Headphones

We love music, and we're willing to bet that you do, too. If you're like us, you probably spend a good portion of your time wearing ...

Jamstik+ MIDI Controller

For a long time the MIDI world has been dominated by keyboard-inspired controllers. Times are changing however, and we are slowly star ...


Most Commented