<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:background="?android:windowBackground"> <android.support.v7.widget.Toolbar android:id="@+id/mediapicker_toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:minHeight="?attr/actionBarSize" android:background="?attr/conversation_list_toolbar_background" android:theme="?attr/actionBarStyle" /> <android.support.v7.widget.RecyclerView android:id="@+id/mediapicker_folder_list" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginStart="2dp" android:layout_marginTop="2dp" /> </LinearLayout>