I am rolling a couple of apps with one forked off of the original. This means they share a lot of code and layouts. In both cases, the main view is a MapView, and I also use camera previews. I am in the process of porting the forked-off app to Android 2.x now (found a sponsor to do that, would have dropped it otherwise...), and to my surprise I found that on the bigger screen (of the Nexus One), I get a screen size/scale different from the original app. From a layout perspective I have no problem, but I wonder how I can control which screen size is being used here. What I am getting when calling MapView.getWidth() and .getHeight() (similarly with the corresponding calls to determine camera preview screen size): Original app: width: 320 - height: 508 Forked off: width: 480 - height: 762 I combed through the various layout and manifest files of the apps, as well as documentation (I know a lot has been written about this) and this very forum, but could not find anything that stuck out. Any pointers where I can set/select the screen size for the app (or individual views) are welcome, THX in advance!
-- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

