icon in Droid is badly scaled

by yidongsoft » Thu, 14 Jan 2010 17:26:02 GMT


Sponsored Links
 In my G2, the icon is ok. But in Droid, the icon look bad. The
skeleton is good, but the icon is scaled and the icon looks cheap. I
try to set the icon big in resolution, but the button enlarged and the
balance of layout is break. Can any one help me to fix it? Thanks!

icon is not the icon for application present on desktop, but normal
ones present on image button.

Thanks!



icon in Droid is badly scaled

by Lance Nanek » Thu, 14 Jan 2010 23:17:06 GMT


 You can use the hdpi qualifier on a resource directory to provide a
higher resolution version for the Droid that it won't try to scale. If
your image is currently in "res/drawable", for example, you can put a
high resolution version of it in "res/drawable-hdpi-v4". The normal
drawable folder is considered medium display density, so Droid will
scale things up from that by default.

To avoid bad looking scaling you should also make sure your app isn't
in compatibility mode re supporting multiple screen resolutions by
setting your uses-sdk and supports-screen manifest elements to avoid
that. See the documentation for details:
 http://developer.android.com/guide/practices/screens_support.html 



> Thanks!


Sponsored Links


icon in Droid is badly scaled

by yidongsoft » Fri, 15 Jan 2010 08:58:49 GMT


 Thank you! I will give a summary later.




> > Thanks!



Other Threads

1. Using Oprofile to profile Android Kernel

Hi all,

I'm porting android on a Cortex A9 board. When I run Oprofile on the
devices, it seems the data doesn't reflect the real usage:

vma      samples  %        image name               app
name                 symbol name
00003f75 34157    25.0480  vmlinux
vmlinux                  input_data
  00005734 100       0.2928
  00005988 28        0.0820
  000059d8 11        0.0322
  000059e0 18        0.0527

The sampling addresses collected by OProfile are in the range of
input_data, i.e., the packed blobs in vmlinux / zImage / uImage.

The kernel however, resides in [002e000,c041b000] for each process.
I'm confused what's happening.

I appreciate if you guys have any clues about what's going wrong.

Thanks

Haohui

-- 

2. Plug-in for email client

hello fellow developers,
I am required to develop a add-on/plug-in which will sit on the top of
the native email client of android phone. I DONOT want to develop a
whole new application (like Gmail or K-9) and then tweak it further as
per my need, instead I just want to develop a plug-in with which will
do a specific task.

I want to know:
1. If this possible to do so?
2. Will the native email client will support my plug-in?
3. And if it is possible then how and where can I start?

 This is a very gray area for me so far, so please any guidance will
be appreciated.


Looking forward for an early reply.

-- 

3. any one have good document on Porting ANDROID in Friendly ARM from the scratch

4. How to destroy an activity immediately?

5. How to control the width and height of Alert dialog.

6. two method to get the service

7. Adapter fetches and parses RSS feed to get its data - best practice?