Simple Question about Res folders

by B Woods » Fri, 02 Jul 2010 22:37:31 GMT


Sponsored Links
 What are the differences between drawable-hdpi, drawable-ldpi, and
drawable-mdpi? Do I need to place my graphics in each of these folders?

--



Simple Question about Res folders

by Kostya Vasilyev » Fri, 02 Jul 2010 22:45:56 GMT


 02.07.2010 18:37, B Woods :
What are the differences between drawable-hdpi, drawable-ldpi, and drawable-mdpi? Do I need to place my graphics in each of these folders?
They are versions of the same graphics files for different screen resolutions. If you don't provide hdpi and ldpi versions, Android loads the default version from drawable and scales it as necessary. Sometimes this looks ugly, so you need to provide alternative versions yourself. This can be done individually for each graphics file used in your app's UI. http://developer.android.com/guide/practices/screens_support.html -- Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com --


Sponsored Links


Simple Question about Res folders

by Phil » Sat, 03 Jul 2010 08:53:09 GMT


 They are there to allow your app to display icons, etc of different
sizes, for different devices.

For example, H.D. icons are 72x72, MD are 48x48 and LD are 36x36.




--



Simple Question about Res folders

by Al Sutton » Sat, 03 Jul 2010 15:27:01 GMT


 They are *not* for resolutions. They are for screen densities (i.e.
the number of pixels per inch on the screen).

To illustrate this point, the Nexus One and the Dell Streak both have
screens with a resolution of 800x480 pixels, but because the Nexus One
has a smaler physical screen it has a hight pixel density, so the
Nexus One uses assets from drawable-hdpi and the Dell Streak uses
assets from drawable-mdpi.

Al.




--



Other Threads

1. How to use PathClassLoader for files that are not installed.

I saw a thread with people loading APKs via DexClassLoader here:
http://stackoverflow.com/questions/1001944/android-remote-code-loading




-- 

2. froyo akan bisa running di tiap hh android

Samsung Galaxy Spica I5700
(English)<http://www.facebook.com/pages/Samsung-Galaxy-Spica-I5700-English/290088088388>
 Good news though . had a chat with google android development team they say
android 2.2 froyo can run on any android phone even the g1 so it is upto
manufacturers to give the update. Htc has promised to update all models of
2010.Rock samsung with calls to make them do the same
info dari group spica di fb

-- 
"Indonesian Android Community [id-android]" 

3. Ask call recorder spica

4. DDMS not listing process -Any way via command line to attach the process to debug

5. I've found a way to stop piracy of my apps

6. Microsoft Outlook Exchange For Spica

7. Google's global quick search widget missing in Android 2.2