15.12.2010 13:42, Yorgos X пишет:


The only reason I had this setting and was building with Android 1.5 SDK so far was that having only a single code and layout xml file, somehow the app was visually working perfectly on all devices (even the ones that hadnt the app shown on the market, when I was manually installing the app on them).

Your application was run in compatibility mode. In this mode, Android renders your application at 240 by 320 (since that's the only thing it knows your application can support), then scales the image to fit the screen.

In the long term this is not what you want.

Note that availability through Market (filtering) is entirely different, and that's where you were running into trouble.

All I want now is to somehow keep the same code and the way my app is shown at the moment and just have the app appearring to more devices on the market. I noticed that after adding the support-screens setting and targetSDKversion and compiling with 1.6, the app's layout is now broken and strangely looking on the same device, on which was showing perfectly when compiling with 1.5 and just minSDKversion=3. Doesn't this seem absurd?

If your layout is broken after running at real device resolution, read the link I provided and fix it.

That's the way forward.

--
Kostya Vasilyev -- 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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to