I have been asking here or the problems I’m having with this layout for weeks, so this time I’ll show a picture of what I need:

I want an EditText and a Button at the bottom of the screen always (and when keyboard show up, they must appear over the keyboard, not stay under the keyboard). The rest of the free screen must be fot an scrollable TextView.
EDIT: this is the code right now, following Romain indications. Everything works as expected but the scroll. TextView must be scrollable and it is not. How to fix it?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:id="@+id/consola"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:scrollbars = "vertical"
android:height="0dip"
android:layout_weight="1.0"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="bottom">
<EditText
android:id="@+id/editText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<Button
android:text="Conectar"
android:id="@+id/boton"
android:label="@string/enviar_string"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
</Button>
</LinearLayout>
</LinearLayout>
I finally found the solution by myself: