Bad image quality in canvas

by Serzh Butterfly » Tue, 23 Nov 2010 14:51:32 GMT

Sponsored Links
 Bitmap (or drawable) quality is bad when I draw it into canvas.
Gradient isn't smooth and lines have a little blur. I want to have a
hard lines.
What is the problem?

I'm testing the app on HTC Desire.
All pictures in png format.

Thank you.


Re: Bad image quality in canvas

by TreKing » Wed, 24 Nov 2010 06:50:54 GMT


Sounds like scaling and / or anti-aliasing issues. Make sure you're using
the right image resolution for the screen density your testing on and check
this too: #ANTI_ALIAS_FLAG

TreKing <> ; - Chicago
transit tracking app for Android-powered devices


Sponsored Links

Other Threads

1. Layout Design Question

Hey all,

I am working on a project for which I have formulated a fairly complex
layout but I have no earthly idea how I could implement such a thing.
Attached is an image of what I'd like it to look like, can anyone think of a
way to generate such layout? If so how? Does anyone have any resources they
can point me to?

Thank you

Jose C Gomez


2. Activity does not close on back key

I am starting a 2nd activity in my application.
Activity A -> Activity B
Now I press Home key, and Activity B is shown. But pressing back key
as soon as the view is up, does not stop Activity B.
Rather it remains without any focus on the stack. I tried using
finishActivity() but that does not seem to work either.

Is there anyway to resolve this issue ?


3. Emulator takes too much time to show up - any solution?

4. ViewFlipper.showNext() not working in timer

5. How to fix errors in emulator

6. Replacing the dialog layout of Preference

7. Easiest way to programmatically check if the Market app is installed?