Vince wrote: > Hi, > > I'm experimenting a problem while editing text through an EditText > view. Here is my layout: > > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:orientation="vertical" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:background="@drawable/background"> > <EditText > android:layout_with="fill_parent" > android:layout_height="wrap_content" /> > </LinearLayout> > > The background is 320x455px, the application runs in portrait mode. > When clicking on the EditText view, the virtual keyboard gets visible, > thus causing the background to be resized... I don't want the > background to be resized. I can't even understand this behaviour: > keyboard should simply comes over the application without "modifying" > it? > > Any guess?
Do you happen to specify adjustResize for this activity? http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html The "pan-and-scan" default, AFAIK, should not resize your background, but adjustResize might. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.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 -~----------~----~----~----~------~----~------~--~---

