If you have graphics that are simple, it's better you get them
converted into 9-patch png. Else, I think, design your graphics for
the largest resolution.

You can also use, drawable-mdpi, drawable-ldpi, drawable-hdpi folders
to stuff in graphics for different screen resolutions.

-Kumar Bibek
http://techdroid.kbeanie.com

On Sep 17, 2:42 pm, Filip Havlicek <[email protected]> wrote:
> Hi everyone,
>
> I took a look at the home screen widget design recently and I tried to
> deploy a simple widget with 4x1 portrait background provided in Widget
> Design Guidelines 
> (http://developer.android.com/guide/practices/ui_guidelines/widget_des...).
> I tried it in HVGA emulator (screen size 320x480 or something) and on
> Nexus One (screen size 480x800) and the widget seems to be the same size
> with respect to other UI elements (search widget etc) on both devices. How
> is that possible when one screen is 320px wide and the other one is 480px?
> Is the graphics in png format being automatically resized somehow based on
> screen width?
>
> If so, is it better to create the home screen widget graphics to make it
> perfectly fit to HVGA screen with 320px or is it better to create the
> graphics to fit the largest screen width possible so it would shrink itself
> on smaller screens (based on assumption shrinking an image is always better
> than magnifying it)?
>
> Best regards,
> Filip Havlicek

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to