I have a layout where there's two layouts on top of each other. If the keyboard is displayed I want the top layout to take the "brunt" of the resizing and keep the bottom layout unmodified if possible. Is this possible? Example layout below:
<LinearLayout
android:layout_height="match_parent" android:layout_width = "match_parent" android:orientation = "vertical">
<LinearLayout
android:layout_height="match_parent" android:layout_width = "match_parent"
android:layout_weight = "1.0">
</LinearLayout>
<LinearLayout
android:layout_height="match_parent" android:layout_width = "match_parent"
android:layout_weight = "1.0" android:id="@+id/important_layout">
</LinearLayout></LinearLayout>