Hi Dianne,
thanks for your reply.
You'd need to set your view hierarchy to not correctly resize to
adjust to its window
How can I 'achieve' that (setting a view hierarchy that wouldn't
correctly resize)?
But even if the view hierarchy would be correctly set, why would it
resize at all?
On Tue, Sep 7, 2010 at 4:21 AM, Mathias Lin m...@mathiaslin.com wrote:
How can I 'achieve' that (setting a view hierarchy that wouldn't correctly
resize)?
You make a broken view hierarchy that uses fixed sizes, so doesn't adjust to
the actual window size. Again, not something I would
On Sep 8, 8:58 am, Dianne Hackborn hack...@android.com wrote:
You make a broken view hierarchy that uses fixed sizes, so doesn't adjust to
the actual window size. Again, not something I would recommend.
I don't see how non-fixed sizes make a difference here in my case.
I have two activities
Interestingly though: when I set my ListView visibility to
View.INVISIBLE in my first activity, then the layout doesn not get
moved up anymore!
This is my layout/xml:
1) http://pastebin.com/5zzVxjbK
ListView where layouts is been moved up by the softkeyboard
2) http://pastebin.com/KFtPuHvP
Instead of View.INVISIBLE try View.GONE.
Invisible = This view is invisible, but it still takes up space for
layout purposes.
http://developer.android.com/reference/android/view/View.html
Also in your scroll view layout try setting
android:fillViewport=true on the scroll view.
Ed
On Sep 7,
Hi Ed,
On Sep 7, 6:25 am, Ed edscha...@gmail.com wrote:
Instead of View.INVISIBLE try View.GONE.
Sorry, you misunderstood. View.INVISIBLE was just for testing purposes
to see if it makes any differences. In my app I cannot hide the
elements of course, I need them there to be visible to the
The window is just resized if you set it to resize mode. You'd need to set
your view hierarchy to not correctly resize to adjust to its window, which
is... questionable.
On Mon, Sep 6, 2010 at 7:57 PM, Mathias Lin m...@mathiaslin.com wrote:
Hi Ed,
On Sep 7, 6:25 am, Ed edscha...@gmail.com
7 matches
Mail list logo