Edittext and a button followed by recycler view

Viewed 417

I have an empty Activity with RelativeLayout and RecyclerView

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
   xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:tools="http://schemas.android.com/tools"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   android:="match_parent"
   android:layout_height="match_parent"
   app:layout_behavilayout_widthor="@string/appbar_scrolling_view_behavior"
   tools:showIn="@layout/activity_main"
   tools:context=".MainActivity">

<android.support.v7.widget.RecyclerView
    android:id="@+id/recyclerView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>
</RelativeLayout>

I need an EditText and a button to be added before RecyclerView. I guess RecyclerView's padding height should be changed but not sure! Please help me

5 Answers
Related