Or just android:targetSdkVersion="4" or better. On Sun, Aug 22, 2010 at 10:59 AM, Kostya Vasilyev <[email protected]>wrote:
> Do you have this in your manifest? > > <supports-screens android:smallScreens="true" > android:normalScreens="true" android:largeScreens="true" > android:anyDensity="true" /> > > 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 "Supporting Multiple Screens" developer doc, it >> appears to always display in compatibility mode. If one has a custom >> layout, or a SurfaceView, and wants to build for HVGA, is there a way >> to have the OS scale everything nicely when used on other sized >> screens? >> >> Is there a place to define the intended layout or SurfaceView >> dimensions that are used as the basis for any automatic scaling the OS >> does (if indeed automatic scaling is possible)? >> >> I'm just confused on the process to use and the settings to set. >> Since all drawing will be custom, similar to a game concept drawing >> bitmap objects directly, it just seems a little different than if >> there was a UI with widgets. >> >> Does anyone have any experience or pointers? >> >> On Aug 6, 9:04 am, Warren<[email protected]> wrote: >> >>> Check out onMeasure() and onLayout(). Those functions are called while >>> views are being positioned, etc. >>> >>> On Aug 6, 7:51 am, TreKing<[email protected]> wrote: >>> >>> >>> >>> On Thu, Aug 5, 2010 at 8:24 PM, powerdroid<[email protected] >>>> >wrote: >>>> >>>>> What I'm trying to accomplish is support for devices that have >>>>> varying screen dimensions and resolutions from the same code base, with >>>>> each device being scaled properly.. >>>>> >>>> Tip: Search the official documentation and the group first, especially >>>> for >>>> common problems like these. >>>> http://developer.android.com/guide/practices/screens_support.html >>>> --------------------------------------------------------------------------- >>>> ---------------------- >>>> TreKing<http://sites.google.com/site/rezmobileapps/treking> - Chicago >>>> transit tracking app for Android-powered devices >>>> >>> > > -- > Kostya Vasilev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

