Aufblasbare Ansicht über RecyclerView in FrameLayout

Auf Knopfdruck versuche ich ein @ aufzublasEditText über einemRecyclerView. Aber anstatt den EditText am oberen Rand des Layouts einzufügen und so die RecyclerView nach unten zu drücken, wird er einfach über der RecyclerView platziert und verdeckt ihn wie folgt:

Sie können sehen, dass "Neuer Text" das erste Element der RecyclerView abdeckt. Wie kann ich es über dem RecyclerView aufblasen lassen und den RecyclerView nach unten drücken, um den neu hinzugefügten EditText aufzunehmen?

Hier ist das XML meines FrameLayouts, zu dem ich den EditText hinzufüge:

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fab="http://schemas.android.com/apk/res-auto"
android:id="@+id/fragment_my_frame_layout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">

<android.support.v7.widget.RecyclerView
    android:id="@+id/my_recycler_view"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:scrollbars="vertical" />

<com.melnykov.fab.FloatingActionButton
    android:id="@+id/button_floating_action"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="bottom|right"
    android:layout_margin="16dp"
    android:src="@drawable/ic_action_new"
    fab:fab_colorNormal="@color/primary_dark"
    fab:fab_colorPressed="@color/primary" />

Hier ist die onClick-Methode meines FloatingActionButton, bei der ich den EditText über der RecyclerView hinzufügen möchte:

    public void onClick(View v) {
    ViewGroup parent = (ViewGroup) rootView.findViewById(R.id.fragment_my_frame_layout);
    View view = LayoutInflater.from(getActivity()).inflate(R.layout.add_keyword_edittext, parent, true);
}

Hier ist die XML des EditText, den ich hinzufüge:

<?xml version="1.0" encoding="utf-8"?>
<EditText xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/edit_text_above_listview"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:minHeight="?android:attr/listPreferredItemHeight"
    android:background="#00000000"
    android:textCursorDrawable="@null"
    android:imeOptions="actionDone"
    android:singleLine="true"
    android:text="New Text" />

Antworten auf die Frage(4)

Ihre Antwort auf die Frage