The problem, and it may be that I'm misunderstanding how Android
handles different screen sizes, is that when trying to incorporate the
material found on the "Supporting Multiple Screens" developer doc, it
appears to always display in compatibility mode. If one has a custom
layout, or a SurfaceVie
I have the following:
and
the code that is drawing the graphic that I'm trying to scale as a
proof of concept is:
canvas.drawBitmap(background, 0, 0, forBitmapPaint);
The background image is 480x320 pixels. I tried it in the drawable-
mdpi res folder and then in a (newly created) p
Check out onMeasure() and onLayout(). Those functions are called while
views are being positioned, etc.
On Aug 6, 7:51 am, TreKing wrote:
> On Thu, Aug 5, 2010 at 8:24 PM, powerdroid wrote:
>
> > What I'm trying to accomplish is support for devices that have
> > varying screen dimensions and re
Do you have this in your manifest?
Are you compiling against Android 1.6 (at least)?
-- Kostya
22.08.2010 15:54, powerdroid пишет:
The problem, and it may be that I'm misunderstanding how Android
handles different screen sizes, is that when trying to incorporate the
material found on the "S
Or just android:targetSdkVersion="4" or better.
On Sun, Aug 22, 2010 at 10:59 AM, Kostya Vasilyev wrote:
> Do you have this in your manifest?
>
> android:normalScreens="true" android:largeScreens="true"
> android:anyDensity="true" />
>
> Are you compiling against Android 1.6 (at least)?
>
> --
5 matches
Mail list logo