Skip to content Skip to sidebar Skip to footer

In The Ondraw() Method, Why Does The Supplied Canvas Already Have Scale?

In a current test project I have a custom View, that I have named SVGView, that simply paints some vector graphics (Paths, etc.) to the Canvas. The XML layout file consists of not

Solution 1:

Have you declared a minSdkVersion or targetSdkVersion in your manifest? If you are targeting an API level lower than 4 your app will run in scaled compatibility mode as if it were targeting a G1 screen.


Post a Comment for "In The Ondraw() Method, Why Does The Supplied Canvas Already Have Scale?"