I have a ScrollView
which contains a LinearLayout
, which in turn contains many layouts and views.
I want to fix the size of views and layouts, so I used a weightSum
attribute on the parents and layout_weight
attribute on the children.
ScrollView
should work when I open the keyboard, but what happens is one of 2 cases:
The views still fill the screen but
ScrollView
does not work, so I cannot see the views behind the keyboard.The view's height reduces to fill the screen above the keyboard, and there is no need for the
ScrollView
.
What I expect is the views still fill the screen and ScrollView
should work to see the items below.