How to put a TextView Under a ListView and make the ListView to fill the screen using android layouts : I have this layout 


    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:paddingTop="@dimen/all_pages_padding_top"
    tools:context="driver.mci.ir.mcicardriver.activity.MessagesActivity">

    <ExpandableListView
        android:id="@+id/messagesListView"
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        android:background="@color/colorBackground"
        android:layout_gravity="right|top">
    </ExpandableListView>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:layout_below="@+id/messagesListView"
        android:layout_alignParentBottom="true"
        android:orientation="horizontal">

        <ImageButton
            android:id="@id/imageView3"
            android:layout_width="@dimen/login_icon_size"
            android:layout_height="@dimen/login_icon_size"
            android:scaleType="fitXY"
            android:src="@drawable/sendmessage"
            android:layout_alignParentEnd="true"
            android:layout_alignParentTop="true"
            />
        <EditText
            android:id="@+id/userName"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignBottom="@+id/imageView3"
            android:layout_toStartOf="@+id/imageView3" />

    </RelativeLayout>
</RelativeLayout>

I want the `ExpandableListView`  to fill the screen and i want to out the inner `RelativeLayout` below the `ExpandableListView`, but the `ExpandableListView` will fill the whole screen and i cant see the `RelativeLayout`. What am i doing wrong?
