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 can't see the `RelativeLayout`.

What am I doing wrong?

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>

```