On Sun, Oct 9, 2011 at 12:36 PM, Alexander Bürger
<[email protected]> wrote:
> That makes them same height, but this height is still changing, which looks
> weird.
>
> Why is the LinearLayout containing text field and button changing its height
> at all? This does not make sense to me. The only way I found to avoid it is
> to set a fixed size, like 44dp, for topcontainer.

If you have resize set for android:windowSoftInputMode, and you do not
have your form wrapped in a ScrollView or something, I can see the
behavior you describe occurring.

http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
Available!

-- 
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